Class SoLineWidthElement


  • public class SoLineWidthElement
    extends SoFloatElement
    Stores the current line width. This element stores the current line width.

    See Also:
    SoDrawStyle
    • 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 line width.
      • set

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

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

        public static void set​(SoState state,
                               SoNode name_14741,
                               float width)
        Sets the current line width in the state.