Methods

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

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

@:value({ focalPointRatio : null, matrix : null })inlinebeginGradientFill(type:GradientType, colors:Array<UInt>, alphas:Array<Float>, ratios:Array<Int>, ?matrix:Matrix, ?spreadMethod:SpreadMethod, ?interpolationMethod:InterpolationMethod, ?focalPointRatio:Float):Void

@:value({ matrix : null })@:require(flash10)inlinebeginShaderFill(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)inlinedrawGraphicsData(graphicsData:Vector<IGraphicsData>):Void

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

@:value({ transforms : null, indices : null })inlinedrawQuads(rects:Vector<Float>, ?indices:Vector<Int>, ?transforms:Vector<Float>):Void

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

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

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

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

inlineendFill():Void

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

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

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

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

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