type image/color.Alpha16
11 uses
image/color (current package)
color.go#L110: type Alpha16 struct {
color.go#L114: func (c Alpha16) RGBA() (r, g, b, a uint32) {
color.go#L237: if _, ok := c.(Alpha16); ok {
color.go#L241: return Alpha16{uint16(a)}
color.go#L345: Transparent = Alpha16{0}
color.go#L346: Opaque = Alpha16{0xffff}
image
image.go#L741: func (p *Alpha16) Alpha16At(x, y int) color.Alpha16 {
image.go#L743: return color.Alpha16{}
image.go#L746: return color.Alpha16{uint16(p.Pix[i+0])<<8 | uint16(p.Pix[i+1])}
image.go#L760: c1 := color.Alpha16Model.Convert(c).(color.Alpha16)
image.go#L774: func (p *Alpha16) SetAlpha16(x, y int, c color.Alpha16) {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |