Class Keyword
java.lang.Object
org.openstreetmap.josm.gui.mappaint.Keyword
A MapCSS keyword.
For example "
round" is a keyword in
linecap: round;Keywords are similar to a Java enum value. In accordance with the CSS specification, they are parsed case insensitive.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final KeywordAutomated text positioningstatic final KeywordAlign text at the bottomstatic final KeywordAlign text at the centerstatic final KeywordUse default line widthstatic final KeywordAlign to the rightstatic final KeywordThinnest line widthfinal StringThe string value for this keyword -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
val
The string value for this keyword -
AUTO
Automated text positioning -
BOTTOM
Align text at the bottom -
CENTER
Align text at the center -
DEFAULT
Use default line width -
RIGHT
Align to the right -
THINNEST
Thinnest line width
-
-
Constructor Details
-
Keyword
Create a new Keyword- Parameters:
val- The string value that is written in the MapCSS file
-
-
Method Details