设置点、线和形状轮廓的笔画宽度。
需要注意的是:strokeWeight() 会受到形状变换的影响,特别是在使用了 scale() 函数的情况下。
示例
语法
strokeWeight(weight)
参数
weight
数字:
笔画的粗细(由像素数衡量)。
This page is generated from the comments in src/core/shape/attributes.js . Please feel free to edit it and submit a pull request!