Lines Matching defs:Gray
843 type Gray struct { struct
846 Pix []uint8
848 Stride int
850 Rect Rectangle
853 func (p *Gray) ColorModel() color.Model { return color.GrayModel }
855 func (p *Gray) Bounds() Rectangle { return p.Rect }
857 func (p *Gray) At(x, y int) color.Color {
861 func (p *Gray) RGBA64At(x, y int) color.RGBA64 {
867 func (p *Gray) GrayAt(x, y int) color.Gray {
877 func (p *Gray) PixOffset(x, y int) int {
881 func (p *Gray) Set(x, y int, c color.Color) {
889 func (p *Gray) SetRGBA64(x, y int, c color.RGBA64) {
899 func (p *Gray) SetGray(x, y int, c color.Gray) {
909 func (p *Gray) SubImage(r Rectangle) Image {
926 func (p *Gray) Opaque() bool {