Canvas

Linen. Canvas

Model for embedding another canvas onto another canvas.
This element extends Linen.Model and inherits all of it's methods.

Constructor

new Canvas(Linen)

Source:
Tutorials:
  • Tutorial: advanced1
Parameters:
Name Type Description
Linen Linen The instance of Linen.

Methods

setCanvas(canvas) → {self}

Source:
Parameters:
Name Type Description
canvas HTMLCanvasElement accepts a HTML5 canvas element.
Returns:
self
Type
self