malyan-ink
v1.0.4
Published
This is a canvas render library for vai group
Downloads
3
Readme
malyan-ink
这是一个基于 canvas 轻度封装的库,它抽象了各种形状,Canvas 以及事件处理机制等。
Examples
const canvas: Canvas = new Canvas('force_canvas', {
width: 200,
height: 200
});
const circle = new Circle({
x: 50,
y: 50,
r: 5,
fillStyle: 'red
}, canvas);
canvas.addChild(circle);
canvas.draw();
Api 用法
TODO