The base class from which all other scale modes extend from. You can implement your own scale mode by extending this class and overriding the appropriate methods.

The default behavior of BaseScaleMode matches that of FillScaleMode.

Constructor

new()

Variables

@:value(CENTER)horizontalAlign:FlxHorizontalAlign = CENTER

read onlyoffset:FlxPoint

read onlyscale:FlxPoint

@:value(CENTER)verticalAlign:FlxVerticalAlign = CENTER

Methods

onMeasure(Width:Int, Height:Int):Void