Class SoFontSizeElement
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.elements.SoElement
-
- com.openinventor.inventor.elements.SoFloatElement
-
- com.openinventor.inventor.elements.SoFontSizeElement
-
public class SoFontSizeElement extends SoFloatElement
Stores the current font size. This element stores the current font size.- See Also:
SoFont
,SoFontStyle
-
-
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
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static float
get(SoState state)
Returns the current font size from the state.static int
getClassStackIndex()
Deprecated.As of Open Inventor 9300.static float
getDefault()
Returns the default font size.void
push(SoState state)
Overridespush()
method to copy values from next instance in the stack.static void
set(SoState state, float size)
Sets the current font size.static void
set(SoState state, SoNode name_12231, float size)
Sets the current font size.-
Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Method Detail
-
set
public static void set(SoState state, float size)
Sets the current font size.
-
getClassStackIndex
@Deprecated public static int getClassStackIndex()
Deprecated.As of Open Inventor 9300. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] *
-
getDefault
public static float getDefault()
Returns the default font size.
-
push
public void push(SoState state)
Overridespush()
method to copy values from next instance in the stack.
-
get
public static float get(SoState state)
Returns the current font size from the state.
-
-