Documentation ¶
Index ¶
- type BufferedCanvas
- func (b BufferedCanvas) At(x, y int) color.Color
- func (b BufferedCanvas) Bounds() image.Rectangle
- func (b BufferedCanvas) ColorModel() color.Model
- func (b BufferedCanvas) FillTestRect()
- func (b BufferedCanvas) Set(x, y int, color color.Color)
- func (b BufferedCanvas) SetSize(width, height int)
- func (b BufferedCanvas) Update()
- type Canvas
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BufferedCanvas ¶
type BufferedCanvas struct {
// contains filtered or unexported fields
}
BufferedCanvas is Canvas with buffer
func NewBufferedCanvas ¶
func NewBufferedCanvas(id string) BufferedCanvas
NewBufferedCanvas creates new BufferedCanvas
func (BufferedCanvas) At ¶
func (b BufferedCanvas) At(x, y int) color.Color
At is part of Image interface
func (BufferedCanvas) Bounds ¶
func (b BufferedCanvas) Bounds() image.Rectangle
Bounds is part of Image interface
func (BufferedCanvas) ColorModel ¶
func (b BufferedCanvas) ColorModel() color.Model
ColorModel is part of Image interface
func (BufferedCanvas) FillTestRect ¶
func (b BufferedCanvas) FillTestRect()
FillTestRect is test pattern
func (BufferedCanvas) Set ¶
func (b BufferedCanvas) Set(x, y int, color color.Color)
Set is part of image/draw Image interface
func (BufferedCanvas) SetSize ¶
func (b BufferedCanvas) SetSize(width, height int)
SetSize sets size
Click to show internal directories.
Click to hide internal directories.