Class CanvasGenerator
Hierarchy
- CanvasGenerator
Index
Methods
Methods
Static Create CanvasSearch playground for CreateCanvas
-
Create a new canvas (or offscreen canvas depending on the context)
Parameters
-
width: number
defines the expected width
-
height: number
defines the expected height
Returns HTMLCanvasElement | OffscreenCanvas
a new canvas or offscreen canvas
-
Helper class used to generate a canvas to manipulate images