Name | strokeJoin |
||
---|---|---|---|
Examples |
MITER <- bitwShiftL(1, 3) noFill() strokeWeight(10) strokeJoin(MITER) beginShape() vertex(35, 20) vertex(65, 50) vertex(35, 80) endShape() BEVEL <- bitwShiftL(1, 5) noFill() strokeWeight(10) strokeJoin(BEVEL) beginShape() vertex(35, 20) vertex(65, 50) vertex(35, 80) endShape() ROUND <- bitwShiftL(1, 1) noFill() strokeWeight(10) strokeJoin(ROUND) beginShape() vertex(35, 20) vertex(65, 50) vertex(35, 80) endShape() | ||
Description | 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. | ||
Syntax | strokeJoin(mode) | ||
Parameters |
| ||
Related |
stroke strokeWeight strokeCap |
Cover
Reference
Tutorials
Bugs