@yukun.bao/cvs
v1.0.7
Published
canvas rendering method library
Downloads
2
Readme
Why
- Node support
- Canvas hidpi polyfill
- Method alias
- Chain method
- Commonly used rendering methods
Install
Install
npm install canvas_painter --save
Getting Started
Basic
import { createCanvas } from 'canvas_painter'
const canvas = createCanvas(500, 300)
const ctx = canvas.getContext('2d')
ctx.fillText('Hello World', 100, 100)