Package org.geotools.mbstyle.layer
Enum LineMBLayer.LineTranslateAnchor
- Object
-
- Enum<LineMBLayer.LineTranslateAnchor>
-
- LineTranslateAnchor
-
- All Implemented Interfaces:
Serializable
,Comparable<LineMBLayer.LineTranslateAnchor>
- Enclosing class:
- LineMBLayer
public static enum LineMBLayer.LineTranslateAnchor extends Enum<LineMBLayer.LineTranslateAnchor>
Controls the translation reference point.Map: The fill is translated relative to the map.
Viewport: The fill is translated relative to the viewport.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LineMBLayer.LineTranslateAnchor
valueOf(String name)
Returns the enum constant of this type with the specified name.static LineMBLayer.LineTranslateAnchor[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MAP
public static final LineMBLayer.LineTranslateAnchor MAP
-
VIEWPORT
public static final LineMBLayer.LineTranslateAnchor VIEWPORT
-
-
Method Detail
-
values
public static LineMBLayer.LineTranslateAnchor[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LineMBLayer.LineTranslateAnchor c : LineMBLayer.LineTranslateAnchor.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LineMBLayer.LineTranslateAnchor valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-