Name |
strokeJoin()描边接头 |
||||
Examples |
noFill(); strokeWeight(10.0); strokeJoin(MITER); beginShape(); vertex(35, 20); vertex(65, 50); vertex(35, 80); endShape();
noFill(); strokeWeight(10.0); strokeJoin(BEVEL); beginShape(); vertex(35, 20); vertex(65, 50); vertex(35, 80); endShape();
noFill(); strokeWeight(10.0); 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(join) |
||||
Parameters |
|
||||
Returns |
void |
||||
Related |
stroke() |
- 本文固定链接: http://iprocessing.cn/2017/08/01/strokejoin描边接头/
- 转载请注明: 卡萨布兰卡 于 Processing编程艺术 发表