type image/color.Alpha
9 uses
image/color (current package)
color.go#L99: type Alpha struct {
color.go#L103: func (c Alpha) RGBA() (r, g, b, a uint32) {
color.go#L229: if _, ok := c.(Alpha); ok {
color.go#L233: return Alpha{uint8(a >> 8)}
image
image.go#L634: func (p *Alpha) AlphaAt(x, y int) color.Alpha {
image.go#L636: return color.Alpha{}
image.go#L639: return color.Alpha{p.Pix[i]}
image.go#L653: p.Pix[i] = color.AlphaModel.Convert(c).(color.Alpha).A
image.go#L664: func (p *Alpha) SetAlpha(x, y int, c color.Alpha) {
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. |