| Enum Constant and Description |
|---|
AutoSize
The SvgViewer is sized equal to the size of the drawing that it contains.
|
Center
The drawing is displayed in the center if the SvgViewer is larger than the drawing.
|
Normal
The drawing is placed in the upper-left corner of the SvgViewer.
|
Stretch
The drawing within the SvgViewer is stretched or shrunk to fit the size of the SvgViewer.
|
Zoom
The size of the drawing is increased or decreased maintaining the size ratio.
|
| Modifier and Type | Method and Description |
|---|---|
static SizeMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SizeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SizeMode Normal
public static final SizeMode Stretch
public static final SizeMode AutoSize
public static final SizeMode Center
public static final SizeMode Zoom
public static SizeMode[] values()
for (SizeMode c : SizeMode.values()) System.out.println(c);
public static SizeMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null