Constructor

new()

Variables

@:value({ recurse : true })@:require(flash11_6)readGraphicsData:(recurse:Bool) ‑> Vector<IGraphicsData> = { recurse : true }

Methods

@:value({ smooth : false, repeat : true })beginBitmapFill(bitmap:BitmapData, ?matrix:Matrix, repeat:Bool = true, smooth:Bool = false):Void

@:value({ alpha : 1 })beginFill(color:UInt, alpha:Float = 1):Void

@:value({ focalPointRatio : 0 })beginGradientFill(type:GradientType, colors:Array<UInt>, alphas:Array<Dynamic>, ratios:Array<Dynamic>, ?matrix:Matrix, ?spreadMethod:SpreadMethod, ?interpolationMethod:InterpolationMethod, focalPointRatio:Float = 0):Void

@:require(flash10)beginShaderFill(shader:Shader, ?matrix:Matrix):Void

@:require(flash10)copyFrom(sourceGraphics:Graphics):Void

@:require(flash11)cubicCurveTo(controlX1:Float, controlY1:Float, controlX2:Float, controlY2:Float, anchorX:Float, anchorY:Float):Void

curveTo(controlX:Float, controlY:Float, anchorX:Float, anchorY:Float):Void

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

@:require(flash10)drawGraphicsData(graphicsData:Vector<IGraphicsData>):Void

@:require(flash10)drawPath(commands:Vector<Int>, data:Vector<Float>, ?winding:GraphicsPathWinding):Void

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

@:value({ ellipseHeight : 0 })drawRoundRect(x:Float, y:Float, width:Float, height:Float, ellipseWidth:Float, ellipseHeight:Float = 0):Void

drawRoundRectComplex(x:Float, y:Float, width:Float, height:Float, topLeftRadius:Float, topRightRadius:Float, bottomLeftRadius:Float, bottomRightRadius:Float):Void

@:require(flash10)drawTriangles(vertices:Vector<Float>, ?indices:Vector<Int>, ?uvtData:Vector<Float>, ?culling:TriangleCulling):Void

@:value({ smooth : false, repeat : true })@:require(flash10)lineBitmapStyle(bitmap:BitmapData, ?matrix:Matrix, repeat:Bool = true, smooth:Bool = false):Void

@:value({ focalPointRatio : 0 })lineGradientStyle(type:GradientType, colors:Array<UInt>, alphas:Array<Dynamic>, ratios:Array<Dynamic>, ?matrix:Matrix, ?spreadMethod:SpreadMethod, ?interpolationMethod:InterpolationMethod, focalPointRatio:Float = 0):Void

@:require(flash10)lineShaderStyle(shader:Shader, ?matrix:Matrix):Void

@:value({ miterLimit : 3, pixelHinting : false, alpha : 1, color : 0, thickness : 0 })lineStyle(thickness:Float = 0, color:UInt = 0, alpha:Float = 1, pixelHinting:Bool = false, ?scaleMode:LineScaleMode, ?caps:CapsStyle, ?joints:JointStyle, miterLimit:Float = 3):Void