![]() |
![]() |
![]() |
![]() |
Set the stroke color
PgColor_t PgSetStrokeColor( PgColor_t color );
ph
This function sets the stroke color used for subsequent draws.
If the driver doesn't support 24-bit color, it selects the nearest color available to the one requested. If you OR the color with Pg_MIX_COLOR, most drivers try to mix two available colors to produce the requested color.
This function overrides the color defined by PgSetStrokeDither().
The previous color.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PgCMY(), PgColor_t, PgDefaultStroke(), PgGray(), PgHSV(), PgRGB(), PgSetDrawMode(), PgSetFillColor(), PgSetStrokeCap(), PgSetStrokeDash(), PgSetStrokeDither(), PgSetStrokeJoin(), PgSetStrokeTransPat(), PgSetStrokeWidth(), PgSetStrokeXORColor(), PgSetTextColor()
"Drawing attributes" and "Lines, pixels, and pixel arrays" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |