Provides properties and methods for manipulating the layout and presentation of
Members
CanvasRenderingContext2D
|
null
# getContext
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.
string
# toDataURL
Returns the content of the current canvas as an image that you can use as a source for another canvas or an HTML element.