标签:路径 比例 code max nbsp ima limit har for
一图胜千言, 图中有一条路径path, 沿着路径描了一条宽度为 width 的边, miterLimit 代表的是, 比例 ab/ac, 其中ac的长度为 1/2 width
来看 mdn 上的描述, 进行验证
miterLimit
= max miterLength
/ lineWidth
= 1 / sin ( min θ / 2 )
一张图告诉你 canvas 中的 miterLimit 代表着什么
标签:路径 比例 code max nbsp ima limit har for
原文地址:http://www.cnblogs.com/linyuzhaozhao/p/7096907.html