Loading

PstrokeJoin


processing
Since v1.0.0
Available on all platforms
See also

Sets the style of the joints which connect line segments. These joints are either mitered, beveled, or rounded and specified with the corresponding parameters MITER, BEVEL, and ROUND. The default joint is MITER.

Link to original Processing doc

Signature

Examples

// @preview image 300 100 '2D' PGraphics //new image instance, 300x100 pixels 0xffffffff Pbackground //white background 20 PstrokeWeight //stroke width 3pixels 200 Pstroke //grey PbeginShape 35 20 Pvertex 65 50 Pvertex 35 80 Pvertex PendShape 'BEVEL' PstrokeJoin PbeginShape 135 20 Pvertex 165 50 Pvertex 135 80 Pvertex PendShape 'ROUND' PstrokeJoin PbeginShape 235 20 Pvertex 265 50 Pvertex 235 80 Pvertex PendShape Pencode //render the image in a base64 format on the stack