W3cubDocs

/Haxe Flash

GraphicsPath

package flash.display

implements IGraphicsPath, IGraphicsData

Available on flash

Constructor

new(?commands:Vector<Int>, ?data:Vector<Float>, ?winding:GraphicsPathWinding)

Variables

commands:Vector<Int>

data:Vector<Float>

winding:GraphicsPathWinding

Methods

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

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

lineTo(x:Float, y:Float):Void

moveTo(x:Float, y:Float):Void

wideLineTo(x:Float, y:Float):Void

wideMoveTo(x:Float, y:Float):Void

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/display/GraphicsPath.html