Loading

PnoFill


processing
Since v1.0.0
Available on all platforms
See also

Disables filling geometry. If both PnoStroke and PnoFill are called, nothing will be drawn to the screen.

Link to original Processing doc

Signature

Examples

// @preview image 300 200 '2D' PGraphics //new image instance, 300x200 pixels 0xffffff6c Pbackground //yellow background 8 PstrokeWeight //stroke width 3pixels 0xff0000ff Pstroke //blue stroke (ARGB color) 0x7fff0000 Pfill //semi transparent red fill 10 50 40 100 Prect //draw a rectangle, left corner 10 30, size 100 50 60 50 40 100 Prect //draw a rectangle, left corner 10 30, size 100 50 PnoFill 110 50 40 100 Prect //draw a rectangle, left corner 10 30, size 100 50 160 50 40 100 Prect //draw a rectangle, left corner 10 30, size 100 50 210 50 40 100 Prect //draw a rectangle, left corner 10 30, size 100 50 Pencode //render the image in a base64 format on the stack