CanvasElement

extern class js.html.CanvasElementextends ElementAvailable in jsDOM canvas elements expose the 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.

Documentation for this class was provided by MDN.
var height : IntReflects the height HTML attribute, specifying the height of the coordinate space in CSS pixels. var width : IntReflects the width HTML attribute, specifying the width of the coordinate space in CSS pixels. function getContext( contextId : String ) : Dynamic inline function getContext2d() : CanvasRenderingContext2DA typed shortcut for getContext("2d"). inline function getContextWebGL( ?attribs : ContextAttributes ) : RenderingContext function toDataURL( ?type : String ) : String
version #19185, modified 2013-05-08 11:05:38 by api
0 comment