Versions in this module Expand all Collapse all v1 v1.0.0 Sep 23, 2019 Changes in this version + type AtlasJson struct + Atlas map[string]*ImageJson + Meta *MetaJson + type Config struct + IgnoreLargeImage bool + MetaFilename string + OutputHeight int + OutputImagePath string + OutputSchemaPath string + OutputWidth int + Padding int + Quality int + type ImageInfo struct + Height int + ID string + Left int + Name string + Top int + Width int + func NewImageInfoParseFrom(imagePath, name string, padding int) *ImageInfo + func (img *ImageInfo) CopyToImage(canvas *image.RGBA, rc Rectangle) + func (img *ImageInfo) PaddedHeight() int + func (img *ImageInfo) PaddedWidth() int + func (img *ImageInfo) String() string + type ImageJson struct + H int + W int + X int + Y int + type MetaJson struct + Filename string + H int + Padding int + W int + type Node struct + type Packer struct + func NewPacker(cfg *Config) *Packer + func (p *Packer) Pack(images map[string]string) (err error) + type Rectangle struct + Bottom int + Left int + Right int + Top int + func (rc Rectangle) Height() int + func (rc Rectangle) Width() int