samizdatco / skia-canvas

A GPU-accelerated 2D graphics environment for Node.js
MIT License
1.67k stars 63 forks source link

rename canvas to OffscreenCanvas #143

Open jimmywarting opened 1 year ago

jimmywarting commented 1 year ago

the readme example should show something like:

import { OffscreenCanvas } from 'skia-canvas'
const canvas = new OffscreenCanvas(400, 400)

think that old Canvas should just be a alias for OffscreenCanvas and eventually be removed and depreacted