getcolor
This function is used to get current foreground color.
COLORREF getcolor();
Parameters
None
Return Value
Current fill color.
Remarks
This function is obsolete and is declared only in graphics.h.
It is recommended that use getlinecolor or gettextcolor instead of this function.
Because the foreground color set by this function includes both line and text color, it is not exactly equivalent to the getlinecolor or gettextcolor functions in easyx.h, so choose an alternative function based on the actual situation.
Examples
None