Class SoLineWidthElement
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.elements.SoElement
-
- com.openinventor.inventor.elements.SoFloatElement
-
- com.openinventor.inventor.elements.SoLineWidthElement
-
public class SoLineWidthElement extends SoFloatElement
Stores the current line width. This element stores the current line width.- See Also:
SoDrawStyle
-
-
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 Concrete Methods Deprecated Methods Modifier and Type Method Description static float
get(SoState state)
Returns current line width from the state.static int
getClassStackIndex()
Deprecated.As of Open Inventor 9.3.0.0.static float
getDefault()
Returns the default line width.static void
set(SoState state, float width)
Sets the current line width in the state.static void
set(SoState state, SoNode name_14303, float width)
Sets the current line width in the state.-
Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop, push
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Method Detail
-
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 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.
-
-