yucad3d

CadSetCurColor

Set current colour.

void CadSetCurColor ( YuHandle hDwg, std::int32_t Color );

Parameters

hDwg (YuHandle)
Handle to the drawing, as returned by CadCreate.
Color (std::int32_t)
Colour value (see the function description: ACI palette index 1-255, or a COLORREF 0x00BBGGRR).

Return Value

None.

See Also