class flixel.addons.display.shapes.FlxShapeArrow extends FlxShape

Available on all platforms

Instance Fields

function new(X:Float, Y:Float, Start:FlxPoint, End:FlxPoint, ArrowSize:Float, LineStyle_:LineStyle, ?OutlineStyle_:LineStyle = null):Void

Creates a line with an arrowhead on the end point * *

X

X location of the sprite canvas *

Y

Y location of the sprite canvas *

Start

starting point of the arrow *

End

ending point of the arrow (this is where the arrowhead is) *

ArrowSize

how big the arrow is (height) *

LineStyle_

line style for the line and arrowhead *

OutlineStyle_

line style for the outer line (optional)

function destroy():Void

function drawSpecificShape(?matrix:Matrix = null):Void