View source
abstract FlxReadOnlyRect(FlxRect)
package flixel.math
from FlxRect to IFlxPooled
import flixel.math.FlxRect
Available on all platforms
Static variables
Static methods
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!
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.