Home Page > KernelCAD Components > Interfaces > General > ILineStyle_KC
ILineStyle_KC Interface
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
HRESULT SetColor(Color_KC* color)
HRESULT GetColor(Color_KC* color)
HRESULT GetLineWidth(float* width)
HRESULT SetLineWidth(float width)
HRESULT GetStippleFlag(VARIANT_BOOL* stipple)
HRESULT SetStippleFlag(VARIANT_BOOL stipple)
Boolean property. If true the line is rendered stippled
HRESULT GetStipplePattern(int* pattern)
HRESULT 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:
http://msdn.microsoft.com/en-us/library/ ) for glLineStipple OpenGL
function for other styles. This property has no effect if the Stipple property
is false
HRESULT GetStippleFactor(int* factor)
HRESULT SetStippleFactor(int factor)
StippleFactor - (interger) Specifies how the stipple pattern is stretched.
See online documentation (MSDN site:
http://msdn.microsoft.com/en-us/library/ ) for glLineStipple OpenGL
function for details. This property has no effect if the Stipple property is
false
|