public enum FitSize extends java.lang.Enum<FitSize>
ShapeNode.resizeToFitText(com.mindfusion.diagramming.FitSize)
method should resize a box.Enum Constant and Description |
---|
KeepHeight
Specifies that the original node height should remain intact.
|
KeepRatio
Allows changing both the width and height of a node, but keep
|
KeepWidth
Specifies that the original node width should remain intact.
|
Modifier and Type | Method and Description |
---|---|
static FitSize |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FitSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FitSize KeepWidth
public static final FitSize KeepHeight
public static final FitSize KeepRatio
public static FitSize[] values()
for (FitSize c : FitSize.values()) System.out.println(c);
public static FitSize 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