Versions in this module Expand all Collapse all v0 v0.0.4 Jan 4, 2021 Changes in this version + type Animation struct + AnimationExpression int + FrameCount int + Pix []uint8 + func NewAnimation(width, height int, expression int, animationType AnimationType) Animation + func (a Animation) At(x, y int) color.Color + func (a Animation) Bounds() image.Rectangle + func (a Animation) ColorModel() color.Model + func (a Animation) Type() AnimationType + type AnimationType int + const AnimationBody128x128 + const AnimationBody32x32 + const AnimationHead + type Cape struct + Pix []uint8 + func NewCape(width, height int) Cape + func (c Cape) At(x, y int) color.Color + func (c Cape) Bounds() image.Rectangle + func (c Cape) ColorModel() color.Model + type ModelConfig struct + AnimatedFace string + Default string + func DecodeModelConfig(b []byte) (ModelConfig, error) + func (cfg ModelConfig) Encode() []byte + type Skin struct + Animations []Animation + Cape Cape + Model []byte + ModelConfig ModelConfig + Persona bool + Pix []uint8 + func New(width, height int) Skin + func (s Skin) At(x, y int) color.Color + func (s Skin) Bounds() image.Rectangle + func (s Skin) ColorModel() color.Model