Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Model = color.ModelFunc(rgb565Model)
Model is the Model for RGB565 colors.
Functions ¶
This section is empty.
Types ¶
type RGB565 ¶
type RGB565 struct { // Pix holds the image's pixels, as RGB565 values in big-endian format. The pixel at // (x, y) starts at Pix[(y-p.Rect.Min.Y)*p.Stride + (x-p.Rect.Min.X)*2]. Pix []uint8 // Stride is the Pix stride (in bytes) between vertically adjacent pixels. Stride int // Rect is the image's bounds. Rect image.Rectangle }
RGBA is an in-memory image whose At method returns color.RGBA values.
func (*RGB565) ColorModel ¶
Click to show internal directories.
Click to hide internal directories.