Documentation ¶
Index ¶
- Constants
- type GoImage
- func (gi *GoImage) CreatetPixel() *pixel.GoPixel
- func (gi *GoImage) GetChannels() byte
- func (gi *GoImage) GetDimension() (int, int)
- func (gi *GoImage) GetInfos() *info.GipInfo
- func (gi *GoImage) GetPixel(x int, y int) *pixel.GoPixel
- func (gi *GoImage) GetPixels() []*pixel.GoPixel
- func (gi *GoImage) GetSize() int
- func (gi *GoImage) SetChannels(channels byte)
- func (gi *GoImage) SetDimension(w int, h int)
- func (gi *GoImage) SetPixel(x int, y int, gp *pixel.GoPixel)
Constants ¶
View Source
const ALPHA_CHANNEL = 3
View Source
const BLUE_CHANNEL = 2
View Source
const GREEN_CHANNEL = 1
View Source
const RED_CHANNEL = 0
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoImage ¶
type GoImage struct {
// contains filtered or unexported fields
}
func NewGoImage ¶
func NewGoImage() *GoImage
func (*GoImage) CreatetPixel ¶
func (*GoImage) GetChannels ¶
func (*GoImage) GetDimension ¶
func (*GoImage) SetChannels ¶
func (*GoImage) SetDimension ¶
Click to show internal directories.
Click to hide internal directories.