Changeset 12378 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint/Keyword.java
- Timestamp:
- 2017-06-09T22:13:45+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/Keyword.java
r11137 r12378 14 14 */ 15 15 public class Keyword { 16 /** 17 * The string value for this keyword 18 */ 16 19 public final String val; 17 20 21 /** 22 * Create a new Keyword 23 * @param val The string value that is written in the MapCSS file 24 */ 18 25 public Keyword(String val) { 19 26 this.val = val.toLowerCase(Locale.ENGLISH); … … 38 45 } 39 46 47 /** 48 * Automated text positioning 49 */ 40 50 public static final Keyword AUTO = new Keyword("auto"); 51 /** 52 * Align text at the bottom 53 */ 41 54 public static final Keyword BOTTOM = new Keyword("bottom"); 55 /** 56 * Align text at the center 57 */ 42 58 public static final Keyword CENTER = new Keyword("center"); 59 /** 60 * Use default line width 61 */ 43 62 public static final Keyword DEFAULT = new Keyword("default"); 63 /** 64 * Align to the right 65 */ 44 66 public static final Keyword RIGHT = new Keyword("right"); 67 /** 68 * Thinnest line width 69 */ 45 70 public static final Keyword THINNEST = new Keyword("thinnest"); 46 71 }
Note:
See TracChangeset
for help on using the changeset viewer.