Versions in this module Expand all Collapse all v0 v0.2.0 Aug 20, 2020 Changes in this version + type ByWidthAndHeight []*Sprite + func (a ByWidthAndHeight) Len() int + func (a ByWidthAndHeight) Less(i, j int) bool + func (a ByWidthAndHeight) Swap(i, j int) + type Sprite struct + H int + ID string + W int + X int + Y int + type Spritesheet struct + Height int + Sprites []*Sprite + Width int + func FromImageList(images []string) (Spritesheet, error) + func (ss *Spritesheet) Image() (image.Image, error) + func (ss *Spritesheet) JSON() (string, error) + func (ss *Spritesheet) Len() int + func (ss *Spritesheet) Place(n, x, y int) + func (ss *Spritesheet) Size(n int) (width, height int)