public static enum SymbolMBLayer.IconTextFit extends Enum<SymbolMBLayer.IconTextFit>
Enum Constant and Description |
---|
BOTH
The icon is scaled in both x- and y-dimensions.
|
HEIGHT
The icon is scaled in the y-dimension to fit the height of the text.
|
NONE
The icon is displayed at its intrinsic aspect ratio.
|
WIDTH
The icon is scaled in the x-dimension to fit the width of the text.
|
Modifier and Type | Method and Description |
---|---|
static SymbolMBLayer.IconTextFit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SymbolMBLayer.IconTextFit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SymbolMBLayer.IconTextFit NONE
public static final SymbolMBLayer.IconTextFit WIDTH
public static final SymbolMBLayer.IconTextFit HEIGHT
public static final SymbolMBLayer.IconTextFit BOTH
public static SymbolMBLayer.IconTextFit[] values()
for (SymbolMBLayer.IconTextFit c : SymbolMBLayer.IconTextFit.values()) System.out.println(c);
public static SymbolMBLayer.IconTextFit 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–2021 Geotools. All rights reserved.