HTMLCanvasElement
interface, which provides properties and methods for manipulating the layout and presentation of canvas elements. The HTMLCanvasElement
interface inherits the properties and methods of the element
object interface.Reflects the
height
HTML attribute, specifying the height of the coordinate space in CSS pixels.
Reflects the
width
HTML attribute, specifying the width of the coordinate space in CSS pixels.
getContext("2d")
.