public static enum SoTextProperty.AlignmentVs extends java.lang.Enum<SoTextProperty.AlignmentVs> implements IntegerValuedEnum
Enum Constant and Description |
---|
BASE
All strings are aligned on their baseline.
|
BOTTOM
Bottom edges of all strings are aligned.
|
HALF
Vertical centers of all strings are aligned.
|
TOP
Top edges of all strings are aligned.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the integer value of the enum constant.
|
static SoTextProperty.AlignmentVs |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoTextProperty.AlignmentVs |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoTextProperty.AlignmentVs[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoTextProperty.AlignmentVs TOP
public static final SoTextProperty.AlignmentVs HALF
public static final SoTextProperty.AlignmentVs BASE
public static final SoTextProperty.AlignmentVs BOTTOM
public static SoTextProperty.AlignmentVs[] values()
for (SoTextProperty.AlignmentVs c : SoTextProperty.AlignmentVs.values()) System.out.println(c);
public static SoTextProperty.AlignmentVs 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 nullpublic static SoTextProperty.AlignmentVs valueOf(int val)
public int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com