Class SoFontSizeElement
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.elements.SoElement
com.openinventor.inventor.elements.SoFloatElement
com.openinventor.inventor.elements.SoFontSizeElement
Stores the current font size.
This element stores the current font size.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand -
Field Summary
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle -
Method Summary
Modifier and TypeMethodDescriptionstatic floatReturns the current font size from the state.static intDeprecated.As of Open Inventor 9.3.0.0.static floatReturns the default font size.voidOverridespush()method to copy values from next instance in the stack.static voidSets the current font size.static voidSets the current font size.Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, popMethods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Method Details
-
set
Sets the current font size. -
getClassStackIndex
Deprecated.As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] * -
getDefault
public static float getDefault()Returns the default font size. -
push
Overridespush()method to copy values from next instance in the stack. -
get
Returns the current font size from the state. -
set
Sets the current font size.
-