DG Kernel Documentation


Skip Navigation Links.
Skip Navigation LinksHome Page > API Reference > Model > Entities > Appearence > ILineStyle_KC Search Documentation


ILineStyle_KC Interface

SetColor
GetColor
GetLineWidth
SetLineWidth
GetStippleFlag
SetStippleFlag
GetStipplePattern
SetStipplePattern
GetStippleFactor
SetStippleFactor

Access to properties of 3D Lables. Can be queried from the relevant IItem. Use methods of  IItem to control visibility and other common properties


void SetColor(Color_KC color)
void GetColor(out Color_KC color)


float GetLineWidth()
void SetLineWidth(float width)


bool GetStippleFlag()
void SetStippleFlag(bool stipple)

Boolean property. If true the line is rendered stippled


int GetStipplePattern()
void SetStipplePattern(int pattern)

StipplePattern - (unsigned short) Specifies style of the line: Common styles: 0x00FF Dashed; 0x0101 Dotted; 0x1c47 Dash - Dot style. See online documentation (MSDN site: https://msdn.microsoft.com/en-us/library/ ) for glLineStipple OpenGL function for other styles. This property has no effect if the Stipple property is false


int GetStippleFactor()
void SetStippleFactor(int factor)

StippleFactor - (interger) Specifies how the stipple pattern is stretched. See online documentation (MSDN site: https://msdn.microsoft.com/en-us/library/ ) for glLineStipple OpenGL function for details. This property has no effect if the Stipple property is false