extended by FlxAtlasFrames, FlxBitmapFont, FlxFilterFrames, FlxImageFrame, FlxTileFrames
Base class for all frame collections.
How much space was trimmed around the original frames.
addBorder() to add borders.
Adds new frame to this frame collection. This method runs additional check, and can add rotated frames (from texture atlases).
Region of image.
Original size of packed image (if image had been cropped, then original size will be bigger than frame size).
How frame region is located on original frame image (offset from top left corner of original image).
Name for this frame (name of packed image file).
Rotation of packed image (can be
If packed image should be horizontally flipped.
If packed image should be vertically flipped.
Newly created and added frame object.
Generates new frames collection from this collection but trims frames by specified borders.
How much space trim around the frames.
Generated frames collection.
Adds empty frame into this frame collection. An empty frame is doing almost nothing for all the time.
Dimensions of the frame to add.
Newly added empty frame.
Finds frame in frames array by its index.
Index of the frame in the frames array.
Frame with specified index in this frames collection (if there is one).
Finds a frame in
framesHash by its name.
The name of the frame to find.
Frame with specified name (if there is one).
Finds the index of the specified frame in the frames array.
Frame to find.
Index of the specified frame.
Finds frame index by its name.
Name of the frame.
Index of the frame with specified name.
Helper method for a adding frame to the collection.
Frame to add.