public static enum SoAnnoText3Property.FontSizeHints extends java.lang.Enum<SoAnnoText3Property.FontSizeHints> implements IntegerValuedEnum
Enum Constant and Description |
---|
ANNOTATION
2D text maintains its nominal font size from any view angle.
|
FIT_VECTOR_TEXT
The font size of 2D text changes according to the view angle (it follows the projection on the screen of 3D text).
|
Modifier and Type | Method and Description |
---|---|
static SoAnnoText3Property.FontSizeHints |
fromValue(int val)
Deprecated.
Use
valueOf(int) instead. |
int |
getValue()
Returns the integer value of the enum constant.
|
static SoAnnoText3Property.FontSizeHints |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoAnnoText3Property.FontSizeHints |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoAnnoText3Property.FontSizeHints[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoAnnoText3Property.FontSizeHints ANNOTATION
public static final SoAnnoText3Property.FontSizeHints FIT_VECTOR_TEXT
public static SoAnnoText3Property.FontSizeHints[] values()
for (SoAnnoText3Property.FontSizeHints c : SoAnnoText3Property.FontSizeHints.values()) System.out.println(c);
public static SoAnnoText3Property.FontSizeHints 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@Deprecated public static SoAnnoText3Property.FontSizeHints fromValue(int val)
valueOf(int)
instead.public static SoAnnoText3Property.FontSizeHints valueOf(int val)
public int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com