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

Last change on this file since 17318 was 16253, checked in by simon04, 4 years ago

fix #18468 - MapCSS: add support for text-rotation

  • Property svn:eol-style set to native
File size: 5.9 KB
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.gui.mappaint;
3
4/**
5 * Interface defining string constants (MapCSS property keys).
6 *
7 * For the implementation of the <code>@supports</code> feature, the list of
8 * supported keys is loaded from this interface using reflection.
9 * @see org.openstreetmap.josm.gui.mappaint.mapcss.MapCSSStyleSource#evalSupportsDeclCondition(java.lang.String, java.lang.Object)
10 */
11public interface StyleKeys {
12
13 /**
14 * MapCSS color property key
15 */
16 String COLOR = "color";
17 /**
18 * MapCSS dashes property key
19 */
20 String DASHES = "dashes";
21 /**
22 * MapCSS dashes-background-color property key
23 */
24 String DASHES_BACKGROUND_COLOR = "dashes-background-color";
25 /**
26 * MapCSS dashes-background-opacity property key
27 */
28 String DASHES_BACKGROUND_OPACITY = "dashes-background-opacity";
29 /**
30 * MapCSS dashes-offset property key
31 */
32 String DASHES_OFFSET = "dashes-offset";
33 /**
34 * MapCSS fill-color property key
35 */
36 String FILL_COLOR = "fill-color";
37 /**
38 * MapCSS fill-extent property key
39 */
40 String FILL_EXTENT = "fill-extent";
41 /**
42 * MapCSS fill-extent-threshold property key
43 */
44 String FILL_EXTENT_THRESHOLD = "fill-extent-threshold";
45 /**
46 * MapCSS fill-image property key
47 */
48 String FILL_IMAGE = "fill-image";
49 /**
50 * MapCSS fill-opacity property key
51 */
52 String FILL_OPACITY = "fill-opacity";
53 /**
54 * MapCSS font-family property key
55 */
56 String FONT_FAMILY = "font-family";
57 /**
58 * MapCSS font-size property key
59 */
60 String FONT_SIZE = "font-size";
61 /**
62 * MapCSS font-style property key
63 */
64 String FONT_STYLE = "font-style";
65 /**
66 * MapCSS font-weight property key
67 */
68 String FONT_WEIGHT = "font-weight";
69 /**
70 * MapCSS icon-image property key
71 */
72 String ICON_IMAGE = "icon-image";
73 /**
74 * MapCSS icon-height property key
75 */
76 String ICON_HEIGHT = "icon-height";
77 /**
78 * MapCSS icon-offset-x property key
79 */
80 String ICON_OFFSET_X = "icon-offset-x";
81 /**
82 * MapCSS icon-offset-y property key
83 */
84 String ICON_OFFSET_Y = "icon-offset-y";
85 /**
86 * MapCSS icon-opacity property key
87 */
88 String ICON_OPACITY = "icon-opacity";
89 /**
90 * MapCSS icon-rotation property key
91 */
92 String ICON_ROTATION = "icon-rotation";
93 /**
94 * MapCSS text-rotation property key
95 */
96 String TEXT_ROTATION = "text-rotation";
97 /**
98 * MapCSS icon-width property key
99 */
100 String ICON_WIDTH = "icon-width";
101 /**
102 * Position of icons on area.
103 */
104 String ICON_POSITION = "icon-position";
105 /**
106 * MapCSS linecap property key
107 */
108 String LINECAP = "linecap";
109 /**
110 * MapCSS linejoin property key
111 */
112 String LINEJOIN = "linejoin";
113 /**
114 * MapCSS major-z-index property key
115 */
116 String MAJOR_Z_INDEX = "major-z-index";
117 /**
118 * MapCSS miterlimit property key
119 */
120 String MITERLIMIT = "miterlimit";
121 /**
122 * MapCSS modifier property key
123 */
124 String MODIFIER = "modifier";
125 /**
126 * MapCSS object-z-index property key
127 */
128 String OBJECT_Z_INDEX = "object-z-index";
129 /**
130 * MapCSS offset property key
131 */
132 String OFFSET = "offset";
133 /**
134 * MapCSS opacity property key
135 */
136 String OPACITY = "opacity";
137 /**
138 * MapCSS real-width property key
139 */
140 String REAL_WIDTH = "real-width";
141 /**
142 * MapCSS repeat-image property key
143 */
144 String REPEAT_IMAGE = "repeat-image";
145 /**
146 * MapCSS repeat-image-align property key
147 */
148 String REPEAT_IMAGE_ALIGN = "repeat-image-align";
149 /**
150 * MapCSS repeat-image-height property key
151 */
152 String REPEAT_IMAGE_HEIGHT = "repeat-image-height";
153 /**
154 * MapCSS repeat-image-offset property key
155 */
156 String REPEAT_IMAGE_OFFSET = "repeat-image-offset";
157 /**
158 * MapCSS repeat-image-opacity property key
159 */
160 String REPEAT_IMAGE_OPACITY = "repeat-image-opacity";
161 /**
162 * MapCSS repeat-image-phase property key
163 */
164 String REPEAT_IMAGE_PHASE = "repeat-image-phase";
165 /**
166 * MapCSS repeat-image-spacing property key
167 */
168 String REPEAT_IMAGE_SPACING = "repeat-image-spacing";
169 /**
170 * MapCSS repeat-image-width property key
171 */
172 String REPEAT_IMAGE_WIDTH = "repeat-image-width";
173 /**
174 * MapCSS text property key
175 */
176 String TEXT = "text";
177 /**
178 * MapCSS text-anchor-horizontal property key
179 */
180 String TEXT_ANCHOR_HORIZONTAL = "text-anchor-horizontal";
181 /**
182 * MapCSS text-anchor-vertical property key
183 */
184 String TEXT_ANCHOR_VERTICAL = "text-anchor-vertical";
185 /**
186 * MapCSS text-color property key
187 */
188 String TEXT_COLOR = "text-color";
189 /**
190 * MapCSS text-halo-color property key
191 */
192 String TEXT_HALO_COLOR = "text-halo-color";
193 /**
194 * MapCSS text-halo-opacity property key
195 */
196 String TEXT_HALO_OPACITY = "text-halo-opacity";
197 /**
198 * MapCSS text-halo-radius property key
199 */
200 String TEXT_HALO_RADIUS = "text-halo-radius";
201 /**
202 * MapCSS text-offset property key
203 */
204 String TEXT_OFFSET = "text-offset";
205 /**
206 * MapCSS text-offset-x property key
207 */
208 String TEXT_OFFSET_X = "text-offset-x";
209 /**
210 * MapCSS text-offset-y property key
211 */
212 String TEXT_OFFSET_Y = "text-offset-y";
213 /**
214 * MapCSS text-opacity property key
215 */
216 String TEXT_OPACITY = "text-opacity";
217 /**
218 * MapCSS text-position property key
219 */
220 String TEXT_POSITION = "text-position";
221 /**
222 * MapCSS way-direction-arrows property key
223 */
224 String WAY_DIRECTION_ARROWS = "way-direction-arrows";
225 /**
226 * MapCSS width property key
227 */
228 String WIDTH = "width";
229 /**
230 * MapCSS z-index property key
231 */
232 String Z_INDEX = "z-index";
233
234}
Note: See TracBrowser for help on using the repository browser.