Documentation
¶
Index ¶
- Constants
- Variables
- func ImageDecode(data []byte) (image.Image, error)
- func MustImageDecode(data []byte) image.Image
- func RGBA32ToRGBA8(r, g, b, a uint32) (uint8, uint8, uint8, uint8)
- type Blur
- type BlurMode
- type Drawer
- type Effector
- type Fillup
- type FillupMode
- type Fixed
- type Matrix
- type Noise
- type Repeat
- type RepeatMode
- type Uniform
Constants ¶
View Source
const ( R = 0 G = 1 B = 2 A = 3 STRIDECOUNT = 4 )
Variables ¶
View Source
var (
CriticalRootOverride = errors.New("Root can't override")
)
Functions ¶
func MustImageDecode ¶
Types ¶
type Fillup ¶
type Fillup struct {
Mode FillupMode
// contains filtered or unexported fields
}
type FillupMode ¶
type FillupMode uint8
const ( FillupNearestNeighbor FillupMode = iota FillupNearest FillupMode = iota FillupGausian FillupMode = iota )
type Repeat ¶
type Repeat struct {
Mode RepeatMode
// contains filtered or unexported fields
}
type RepeatMode ¶
type RepeatMode uint8
const ( RepeatNormal RepeatMode = iota RepeatHorizontal RepeatMode = iota RepeatVertical RepeatMode = iota )
Click to show internal directories.
Click to hide internal directories.