my.createCanvasContext

Create canvas context This canvas context works on the <canvas/> of the corresponding canvasId only.

Parameters

ParametersTypeDescription
canvasIdStringID defined on the <canvas/>

Return Value

CanvasContext