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#L650: func (p *Alpha) AlphaAt(x, y int) color.Alpha {
image.go#L652: return color.Alpha{}
image.go#L655: return color.Alpha{p.Pix[i]}
image.go#L669: p.Pix[i] = color.AlphaModel.Convert(c).(color.Alpha).A
image.go#L680: func (p *Alpha) SetAlpha(x, y int, c color.Alpha) {
![]() |
The pages are generated with Golds v0.8.4. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |