Documentation ¶
Index ¶
- Constants
- func DecodePNG(data []byte) (image.Image, error)
- func EncodePNG(src image.Image) ([]byte, error)
- func LoadPNG(filename string) (image.Image, error)
- func Transform(img image.Image, rotate int, flip bool) image.Image
- func WritePNG(filename string, src image.Image) error
- type Blank
- type Drawer
- type Flip
- type Group
- type Handler
- type ImageDrawer
- type Images
- type RecordDrawer
- type Rotate
- type SizeDrawer
- type SubImager
- type Translate
- type Writer
Constants ¶
View Source
const ( RedMan = tile.TileEnd + iota RedPin RedSou BackTile BlankTile )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Blank ¶
type Blank struct {
// contains filtered or unexported fields
}
func BlankFromImage ¶
func (*Blank) ColorModel ¶
type Group ¶
type Group struct {
// contains filtered or unexported fields
}
func (*Group) ColorModel ¶
type ImageDrawer ¶
type Images ¶
func DefaultSprites ¶
type RecordDrawer ¶
type RecordDrawer struct {
// contains filtered or unexported fields
}
func (*RecordDrawer) Repeat ¶
func (d *RecordDrawer) Repeat(x Drawer)
type SizeDrawer ¶
func (*SizeDrawer) NewRGBA ¶
func (d *SizeDrawer) NewRGBA() draw.Image
Click to show internal directories.
Click to hide internal directories.