FillScaleMode is a scaling mode which stretches and squashes the game to exactly fit the provided window. This may result in the graphics of your game being distorted if the user resizes their game window.

To enable it in your project, use FlxG.scaleMode = new FillScaleMode();.

Constructor

new()

Inherited Variables

Defined by BaseScaleMode

@:value(CENTER)horizontalAlign:FlxHorizontalAlign = CENTER

read onlyoffset:FlxPoint

read onlyscale:FlxPoint

@:value(CENTER)verticalAlign:FlxVerticalAlign = CENTER

Inherited Methods

Defined by BaseScaleMode

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