8 lines
188 B
JavaScript
8 lines
188 B
JavaScript
|
/** 绘制填充圆角矩形方法 */
|
||
|
export default {
|
||
|
name: 'fillRoundRect',
|
||
|
handle: (canvas, ctx, x, y, w, h, r) => {
|
||
|
ctx.roundRect(x, y, w, h, r, true);
|
||
|
}
|
||
|
};
|