public static enum ScenePrinter.ScaleStrategy extends Enum<ScenePrinter.ScaleStrategy>
Enum Constant and Description |
---|
NO_SCALING
Print the Scene exactly as it would be if not scaled at all.
|
SCALE_CURRENT_ZOOM
Scale the printed scene to exactly the same scale level as the supplied
scene.
|
SCALE_PERCENT
Scale the printed scene by a supplied percent.
|
SCALE_TO_FIT
Scale the printed scene to fit on a single page
|
SCALE_TO_FIT_X
Determine the scale percentage necessay to fit on the horizontal page.
|
SCALE_TO_FIT_Y
Determine the scale percentage necessay to fit on the vertical page.
|
Modifier and Type | Method and Description |
---|---|
static ScenePrinter.ScaleStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScenePrinter.ScaleStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScenePrinter.ScaleStrategy SCALE_CURRENT_ZOOM
public static final ScenePrinter.ScaleStrategy SCALE_PERCENT
public static final ScenePrinter.ScaleStrategy SCALE_TO_FIT
public static final ScenePrinter.ScaleStrategy SCALE_TO_FIT_X
public static final ScenePrinter.ScaleStrategy SCALE_TO_FIT_Y
public static final ScenePrinter.ScaleStrategy NO_SCALING
public static ScenePrinter.ScaleStrategy[] values()
public static ScenePrinter.ScaleStrategy 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 null