source: josm/trunk/src/org/openstreetmap/josm/gui/mappaint/StyleKeys.java@ 8256

Last change on this file since 8256 was 8087, checked in by bastiK, 9 years ago

MapCSS: new @supports rule

Implementation should be mostly compatible with
the CSS Conditional 3 draft [2].

This is similar to @media, which was previously misused
for this purpose and is now deprecated.

refs:
[1] https://wiki.openstreetmap.org/wiki/MapCSS/0.2/Proposal_media_query
[2] http://dev.w3.org/csswg/css-conditional/

  • Property svn:eol-style set to native
File size: 2.2 KB
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.gui.mappaint;
3
4public interface StyleKeys {
5
6 String COLOR = "color";
7 String DASHES = "dashes";
8 String DASHES_BACKGROUND_COLOR = "dashes-background-color";
9 String DASHES_BACKGROUND_OPACITY = "dashes-background-opacity";
10 String DASHES_OFFSET = "dashes-offset";
11 String FILL_COLOR = "fill-color";
12 String FILL_IMAGE = "fill-image";
13 String FILL_OPACITY = "fill-opacity";
14 String FONT_FAMILY = "font-family";
15 String FONT_SIZE = "font-size";
16 String FONT_STYLE = "font-style";
17 String FONT_WEIGHT = "font-weight";
18 String ICON_IMAGE = "icon-image";
19 String ICON_HEIGHT = "icon-height";
20 String ICON_OFFSET_X = "icon-offset-x";
21 String ICON_OFFSET_Y = "icon-offset-y";
22 String ICON_OPACITY = "icon-opacity";
23 String ICON_WIDTH = "icon-width";
24 String LINECAP = "linecap";
25 String LINEJOIN = "linejoin";
26 String MAJOR_Z_INDEX = "major-z-index";
27 String MITERLIMIT = "miterlimit";
28 String MODIFIER = "modifier";
29 String OBJECT_Z_INDEX = "object-z-index";
30 String OFFSET = "offset";
31 String OPACITY = "opacity";
32 String REAL_WIDTH = "real-width";
33 String REPEAT_IMAGE = "repeat-image";
34 String REPEAT_IMAGE_ALIGN = "repeat-image-align";
35 String REPEAT_IMAGE_HEIGHT = "repeat-image-height";
36 String REPEAT_IMAGE_OFFSET = "repeat-image-offset";
37 String REPEAT_IMAGE_OPACITY = "repeat-image-opacity";
38 String REPEAT_IMAGE_PHASE = "repeat-image-phase";
39 String REPEAT_IMAGE_SPACING = "repeat-image-spacing";
40 String REPEAT_IMAGE_WIDTH = "repeat-image-width";
41 String TEXT = "text";
42 String TEXT_ANCHOR_HORIZONTAL = "text-anchor-horizontal";
43 String TEXT_ANCHOR_VERTICAL = "text-anchor-vertical";
44 String TEXT_COLOR = "text-color";
45 String TEXT_HALO_COLOR = "text-halo-color";
46 String TEXT_HALO_OPACITY = "text-halo-opacity";
47 String TEXT_HALO_RADIUS = "text-halo-radius";
48 String TEXT_OFFSET = "text-offset";
49 String TEXT_OFFSET_X = "text-offset-x";
50 String TEXT_OFFSET_Y = "text-offset-y";
51 String TEXT_OPACITY = "text-opacity";
52 String TEXT_POSITION = "text-position";
53 String WIDTH = "width";
54 String Z_INDEX = "z-index";
55
56}
Note: See TracBrowser for help on using the repository browser.