Constructor
@:value({ right : 5, bottom : 5, top : 5, left : 5 })new(spr:FlxGraphicAsset, x:Float, y:Float, width:Float, height:Float, left:Float = 5, top:Float = 5, bottom:Float = 5, right:Float = 5)
Variables
@:value(new FlxSprite())bottom:FlxSprite = new FlxSprite()
@:value(new FlxSprite())bottomLeft:FlxSprite = new FlxSprite()
@:value(new FlxSprite())bottomRight:FlxSprite = new FlxSprite()
@:value(new FlxSprite())left:FlxSprite = new FlxSprite()
@:value(new FlxSprite())middle:FlxSprite = new FlxSprite()
@:value(new FlxSprite())right:FlxSprite = new FlxSprite()
@:value([0, 0, 0, 0])slice:Array<Int> = [0, 0, 0, 0]
@:value(new FlxSprite())top:FlxSprite = new FlxSprite()
@:value(new FlxSprite())topLeft:FlxSprite = new FlxSprite()
@:value(new FlxSprite())topRight:FlxSprite = new FlxSprite()
Methods
resize(width:Float, height:Float):Void