class

IconRenderer::Assets::Spritesheet

Inherits Reference < Object

Represents the metadata of a spritesheet and its sprites.

Constructors

new(sprites : Hash(String, Sprite), texture_file_name : String, size : Tuple(Int32, Int32))
Source
new(obj : PList::Value)

Shorthand for initializing a spritesheet with its .plist representation.

Source

Instance methods

size
Source
sprites
Source
texture_file_name
Source