CrImage::Util::SpriteInfo
Metadata for a sprite within a sprite sheet.
Contains position and dimensions of a sprite in the combined sheet. Used for extracting individual sprites or generating sprite maps.
Constructors
Instance methods
bounds
Returns the bounding rectangle of this sprite.
Useful for cropping the sprite from the sheet.
height
Sourceindex
Sourcewidth
Source