public static enum SoFont.RenderStyles extends java.lang.Enum<SoFont.RenderStyles> implements IntegerValuedEnum
Enum Constant and Description |
---|
POLYGON
Render font as polygonal objects.
|
POLYGON_AND_OUTLINE
Render outlining font.
|
TEXTURE
Render font as texture objects.
|
TEXTURE_DELAYED
Render font as texture objects, but delay the rendering to prevent transparency artifacts, similar to delaying transparent objects.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the integer value of the enum constant.
|
static SoFont.RenderStyles |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoFont.RenderStyles |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoFont.RenderStyles[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoFont.RenderStyles POLYGON
public static final SoFont.RenderStyles TEXTURE
public static final SoFont.RenderStyles TEXTURE_DELAYED
public static final SoFont.RenderStyles POLYGON_AND_OUTLINE
SoText2
text node.public static SoFont.RenderStyles[] values()
for (SoFont.RenderStyles c : SoFont.RenderStyles.values()) System.out.println(c);
public static SoFont.RenderStyles 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 SoFont.RenderStyles 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