Documentation ¶
Overview ¶
Package pixel contains common pixel formats.
Index ¶
- func Circle(b Image, p image.Point, r int, c color.Color)
- func FadeOutDither(buffer *Bitmap, duration time.Duration) <-chan time.Time
- func Fill(b Image, c color.Color)
- func FillRectangle(b Image, r image.Rectangle, c color.Color)
- func HLine(b Image, p image.Point, width int, c color.Color)
- func Line(b Image, p0, p1 image.Point, c color.Color)
- func Rectangle(b Image, r image.Rectangle, c color.Color)
- func ScrollDown(b Image)
- func ScrollUp(b Image)
- func VLine(b Image, p image.Point, height int, c color.Color)
- type Bitmap
- type Format
- type Image
- type RGB332
- type RGB565
- type RGB888
- type RGBA4444
- type RGBA5551
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FadeOutDither ¶
FadeOutDither applies gradual 4×4 Bayes dithering to all pixels off.
func FillRectangle ¶
FillRectangle draws a filled rectangle between the two points.
func ScrollDown ¶
func ScrollDown(b Image)
Types ¶
type Bitmap ¶
func (*Bitmap) ColorModel ¶
type RGB332 ¶
func (RGB332) ColorModel ¶
type RGB565 ¶
func (RGB565) ColorModel ¶
type RGB888 ¶
func (*RGB888) ColorModel ¶
Directories ¶
Path | Synopsis |
---|---|
Package pixelcolor contains common color formats.
|
Package pixelcolor contains common color formats. |
Click to show internal directories.
Click to hide internal directories.