SoTextPropertystyleColors Property |
Specifies the color to use for each style.
Namespace: OIV.Inventor.Nodes
Use the index values defined in the OIV.Inventor.Nodes.SoTextProperty.StyleColorType enum (NOT the OIV.Inventor.Nodes.SoTextProperty.Styles enum) to assign the color to the desired style. For example, assign opaque red to the underline color.
SoTextProperty node = new SoTextProperty(); node.styleColors.Set1Value( (int)SoTextProperty.StyleColorType.UNDERLINE_COLOR, new SbColorRGBA(1,0,0,1) );
Note |
---|
Field available since Open Inventor 8.1 |