PenSetColorΒΆ
PenSetColor sets the line color of a pen object.
- bool = PenSetColor(hPen, rvColorRGB)
Return Value
If the function succeeds, the return value bool is TRUE (1); otherwise it is FALSE (0).
Parameters
- hPen
Identifies the pen.
- rvColorRGB
rvColorRGB is a vector with 3 elements that set the pen color:
Value |
Meaning |
---|---|
rvColorRGB[1] |
Red (0 to 255) |
rvColorRGB[2] |
Green (0 to 255) |
rvColorRGB[3] |
Blue (0 to 255) |
See also
id-796575