Returns an object that provides methods and properties for drawing and manipulating images and graphics on a canvas element in a document. A context object includes information about colors, line widths, fonts, and other graphic parameters that can be drawn on a canvas.
Optionaltype: "2d"The type of canvas to create. Skia Canvas only supports a 2-D context using canvas.getContext("2d")
Optionalwidth: numberOptionalheight: numberOptionaloptions: SaveOptionsOptionaloptions: RenderOptionsOptionaloptions: RenderOptionsOptionaloptions: SaveOptionsOptionaloptions: RenderOptionsOptionaloptions: RenderOptions
Skia Canvas Docs