Static variables

staticread onlybottom:Float

The y coordinate of the bottom of the rectangle

staticread onlyheight:Float

staticread onlyisEmpty:Bool

Whether width or height of this rectangle is equal to zero or not

staticread onlyleft:Float

The x coordinate of the left side of the rectangle

staticread onlypool:IFlxPool<FlxRect>

staticread onlyright:Float

The x coordinate of the right side of the rectangle

staticread onlytop:Float

The y coordinate of the top of the rectangle

staticread onlywidth:Float

staticread onlyx:Float

staticread onlyy:Float

Static methods

@:value({ height : 0.0, width : 0.0, y : 0.0, x : 0.0 })staticinlineget(x:Float = 0.0, y:Float = 0.0, width:Float = 0.0, height:Float = 0.0):FlxReadOnlyRect

Recycle or create new FlxRect. Be sure to put() them back into the pool after you're done with them!

@:value({ height : 0.0, width : 0.0, y : 0.0, x : 0.0 })staticinlineweak(x:Float = 0.0, y:Float = 0.0, width:Float = 0.0, height:Float = 0.0):FlxReadOnlyRect

Recycle or create a new FlxRect which will automatically be released to the pool when passed into a flixel function.