type image/color.Gray
9 uses
image/color (current package)
color.go#L120: type Gray struct {
color.go#L124: func (c Gray) RGBA() (r, g, b, a uint32) {
color.go#L245: if _, ok := c.(Gray); ok {
color.go#L260: return Gray{uint8(y)}
image
image.go#L726: func (p *Gray) GrayAt(x, y int) color.Gray {
image.go#L728: return color.Gray{}
image.go#L731: return color.Gray{p.Pix[i]}
image.go#L745: p.Pix[i] = color.GrayModel.Convert(c).(color.Gray).Y
image.go#L748: func (p *Gray) SetGray(x, y int, c color.Gray) {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |