/**
*
* @param {type} radius 圆环半径
* @param {type} lineWidth 圆环宽度
* @param {type} strokeStyle 默认背景
* @param {type} fillStyleArray 数组,圆环色块颜色
* @param {type} capType 类型:round是圆角,square正方形顶帽,butt是正常
* @returns {Circle} criclex、cricley圆心坐标
* author haorooms
*
*/
18355166248 / ring-canvas- Goto Github PK
View Code? Open in Web Editor NEW基于cavans画的一个圆环百分比 很多属性都可以自定义