Class SoTextBackFrameLineWidthElement


  • public class SoTextBackFrameLineWidthElement
    extends SoFloatElement
    Stores the current text backFrame line width. This element stores the current text backFrame line width value. The width value is a 1/40 factor of the current font size for SoText3 nodes, and is a pixel value for the SoText2 nodes.

    See Also:
    SoTextProperty
    • Method Detail

      • 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 draw style.
      • set

        public static void set​(SoState state,
                               float width)
        Sets the current horizontal text backFrame width in the state.
      • get

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

        public static void set​(SoState state,
                               SoNode name_24057,
                               float width)
        Sets the current horizontal text backFrame width in the state.