type image/color.Gray
11 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#L853: func (p *Gray) GrayAt(x, y int) color.Gray {
image.go#L855: return color.Gray{}
image.go#L858: return color.Gray{p.Pix[i]}
image.go#L872: p.Pix[i] = color.GrayModel.Convert(c).(color.Gray).Y
image.go#L885: func (p *Gray) SetGray(x, y int, c color.Gray) {
rsc.io/qr
qr.go#L98: whiteColor color.Color = color.Gray{0xFF}
qr.go#L99: blackColor color.Color = color.Gray{0x00}
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. |