Versions in this module Expand all Collapse all v0 v0.1.0 Jul 17, 2021 Changes in this version + type FloatPoint struct + X float64 + Y float64 + type Format interface + SpriteSheetFrom func(data []byte) (*SpriteSheet, error) + type FormatJSONHash struct + func (f FormatJSONHash) SpriteSheetFrom(data []byte) (*SpriteSheet, error) + type Metadata struct + App string + Format string + Image string + Scale string + Size image.Point + SmartUpdate string + Version string + type Sprite struct + Frame image.Rectangle + Pivot FloatPoint + Rotated bool + SourceSize image.Point + SpriteSourceSize image.Rectangle + Trimmed bool + type SpriteSheet struct + Meta *Metadata + Sprites map[string]*Sprite + func SheetFromData(data []byte, f Format) (*SpriteSheet, error) + func SheetFromFile(path string, f Format) (*SpriteSheet, error)