Click or drag to resize
SoDrawStylelinePattern Property

Stipple pattern for lines (for LINES style).

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public SoSFUShort linePattern { get; }

Property Value

Type: SoSFUShort
Remarks

This specifies how dashed or dotted lines will be drawn. The pattern is a 16-bit series of 0s and 1s and is repeated as necessary to stipple a given line. A 1 indicates that drawing occurs, and a 0 that it does not, on a pixel-by-pixel basis, starting with the low-order bits of the pattern. Values can range from 0 (invisible) to 0xffff (solid). Default is 0xffff.

The line pattern can be stretched using the OIV.Inventor.Nodes.SoDrawStyle.linePatternScaleFactor field.

See Also