Constructor

new ()

Variables

Methods

arc (x:Float, y:Float, radius:Float, startAngle:Float, endAngle:Float, anticlockwise:Bool):Void

arcTo (x1:Float, y1:Float, x2:Float, y2:Float, radius:Float):Void

bezierCurveTo (cp1x:Float, cp1y:Float, cp2x:Float, cp2y:Float, x:Float, y:Float):Void

clearRect (x:Float, y:Float, width:Float, height:Float):Void

createPattern (image:Dynamic, repetitionType:String):Dynamic

createPattern (canvas:Dynamic, repetitionType:String):Dynamic

drawImage (element:Dynamic, sx:Float, sy:Float, ?sw:Float, ?sh:Float, ?dx:Float, ?dy:Float, ?dw:Float, ?dh:Float):Void

drawImageFromRect (image:Dynamic, ?sx:Float, ?sy:Float, ?sw:Float, ?sh:Float, ?dx:Float, ?dy:Float, ?dw:Float, ?dh:Float, ?compositeOperation:String):Void

fillRect (x:Float, y:Float, width:Float, height:Float):Void

fillText (text:String, x:Float, y:Float, ?maxWidth:Float):Void

putDynamicImageData (dynamicImageData:Dynamic, dx:Float, dy:Float, dirtyX:Float, dirtyY:Float, dirtyWidth:Float, dirtyHeight:Float):Void

putDynamicImageData (dynamicImageData:Dynamic, dx:Float, dy:Float):Void

putDynamicImageDataHD (dynamicImageData:Dynamic, dx:Float, dy:Float, dirtyX:Float, dirtyY:Float, dirtyWidth:Float, dirtyHeight:Float):Void

putDynamicImageDataHD (dynamicImageData:Dynamic, dx:Float, dy:Float):Void

rect (x:Float, y:Float, width:Float, height:Float):Void

rotate (angle:Float):Void

setCompositeOperation (compositeOperation:String):Void

setShadow (width:Float, height:Float, blur:Float, c:Float, m:Float, y:Float, k:Float, a:Float):Void

setShadow (width:Float, height:Float, blur:Float, ?color:String, ?alpha:Float):Void

setShadow (width:Float, height:Float, blur:Float, grayLevel:Float, ?alpha:Float):Void

setShadow (width:Float, height:Float, blur:Float, r:Float, g:Float, b:Float, a:Float):Void

setTransform (m11:Float, m12:Float, m21:Float, m22:Float, dx:Float, dy:Float):Void

strokeRect (x:Float, y:Float, width:Float, height:Float, ?lineWidth:Float):Void

strokeText (text:String, x:Float, y:Float, ?maxWidth:Float):Void

transform (m11:Float, m12:Float, m21:Float, m22:Float, dx:Float, dy:Float):Void