Class SoFontSizeElement


  • public class SoFontSizeElement
    extends SoFloatElement
    Stores the current font size. This element stores the current font size.

    See Also:
    SoFont, SoFontStyle
    • Method Detail

      • set

        public static void set​(SoState state,
                               float size)
        Sets the current font size.
      • getClassStackIndex

        @Deprecated(since="9.3.0.0")
        public static int 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

        public void push​(SoState state)
        Overrides push() method to copy values from next instance in the stack.
        Overrides:
        push in class SoElement
      • get

        public static float get​(SoState state)
        Returns the current font size from the state.
      • set

        public static void set​(SoState state,
                               SoNode name_11911,
                               float size)
        Sets the current font size.