public static enum TextSymbolizer.PolygonAlignOptions extends Enum<TextSymbolizer.PolygonAlignOptions>
Enum Constant and Description |
---|
MBR
Rotate label using the minimum bounding rectangle of the polygon, if a default horizontal
label will not fit into the polygon.
|
NONE
Disable automatic rotation alignment (default)
|
ORTHO
Rotate label orthogonally with x-axis if the polygon is higher than wider
|
Modifier and Type | Method and Description |
---|---|
static TextSymbolizer.PolygonAlignOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextSymbolizer.PolygonAlignOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextSymbolizer.PolygonAlignOptions NONE
public static final TextSymbolizer.PolygonAlignOptions ORTHO
public static final TextSymbolizer.PolygonAlignOptions MBR
public static TextSymbolizer.PolygonAlignOptions[] values()
for (TextSymbolizer.PolygonAlignOptions c : TextSymbolizer.PolygonAlignOptions.values()) System.out.println(c);
public static TextSymbolizer.PolygonAlignOptions valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 1996–2019 Geotools. All rights reserved.