一、色彩:
二、透明度:
三、线型:
- 设置线条宽度:
lineWidth = value
- 设置线条末端样式:
lineCap = type
- 设定线条与线条间接合处的样式:
lineJoin = type
- 限制当两条线相交时交接处最大长度:
miterLimit = value
标签:canvas,样式,元素,color,设置,type,线条 From: https://www.cnblogs.com/wfblog/p/18289413
一、色彩:
二、透明度:
三、线型:
lineWidth = value
lineCap = type
lineJoin = type
miterLimit = value
标签:canvas,样式,元素,color,设置,type,线条 From: https://www.cnblogs.com/wfblog/p/18289413