public enum StyleDecorationZoomPolicy extends Enum<StyleDecorationZoomPolicy>
| Enum Constant and Description |
|---|
MIXED
Uses WorldCoordinates rendering for zoom level >= 1 and ViewCoordinates rendering for zoom level < 1.
|
VIEW_COORDINATES
The visual is rendered in the view coordinate space and doesn't scale with the zoom level.
|
WORLD_COORDINATES
The visual is rendered in the world coordinate space and scales with the zoom level like a regular graph item
visualization, for example a node style.
|
| Modifier and Type | Method and Description |
|---|---|
static StyleDecorationZoomPolicy |
fromOrdinal(int ordinal) |
int |
value() |
static StyleDecorationZoomPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StyleDecorationZoomPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StyleDecorationZoomPolicy MIXED
public static final StyleDecorationZoomPolicy VIEW_COORDINATES
This is similar to the default node resize handles, for example.
public static final StyleDecorationZoomPolicy WORLD_COORDINATES
public static final StyleDecorationZoomPolicy fromOrdinal(int ordinal)
public int value()
public static StyleDecorationZoomPolicy valueOf(String name)
IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullname - the name of the enum constant to be returned.public static StyleDecorationZoomPolicy[] values()
for (StyleDecorationZoomPolicy c : StyleDecorationZoomPolicy.values()) System.out.println(c);