设置连接线段的接头样式。
接头可以是斜接 (MITRE)、斜角 (BEVEL),或圆角 (ROUND)。 2D 模式下默认接头为 MITRE WebGL 中为ROUND 模式。
传递给strokeJoin()的参数必须为全大写,因为常量 MITRE、BEVEL 和 ROUND 都是这样定义的。 JavaScript 是一种区分大小写的编程语言。
示例
语法
strokeJoin(join)
参数
join
常量:
MITER, BEVEL, 或 ROUND
This page is generated from the comments in src/core/shape/attributes.js . Please feel free to edit it and submit a pull request!