Documentation
¶
Index ¶
- type ImgCanvas
- func (i *ImgCanvas) AlwaysRender() bool
- func (i *ImgCanvas) At(x, y int) color.Color
- func (i *ImgCanvas) Bounds() image.Rectangle
- func (i *ImgCanvas) Clear() error
- func (i *ImgCanvas) Close() error
- func (i *ImgCanvas) ColorModel() color.Model
- func (i *ImgCanvas) Disable() bool
- func (i *ImgCanvas) Enable() bool
- func (i *ImgCanvas) Enabled() bool
- func (i *ImgCanvas) GetHTTPHandlers() ([]*board.HTTPHandler, error)
- func (i *ImgCanvas) GetWidth() int
- func (i *ImgCanvas) Name() string
- func (i *ImgCanvas) Render(ctx context.Context) error
- func (i *ImgCanvas) Scrollable() bool
- func (i *ImgCanvas) Set(x, y int, clr color.Color)
- func (i *ImgCanvas) SetStateChangeCallback(s func())
- func (i *ImgCanvas) SetWidth(x int)
- func (i *ImgCanvas) Store(s bool) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImgCanvas ¶
ImgCanvas is a board.Canvas type that just stores the state as an image.Image
func (*ImgCanvas) ColorModel ¶
ColorModel returns the canvas' color model, always color.RGBAModel
func (*ImgCanvas) GetHTTPHandlers ¶
func (i *ImgCanvas) GetHTTPHandlers() ([]*board.HTTPHandler, error)
GetHTTPHandlers ...
func (*ImgCanvas) SetStateChangeCallback ¶
func (i *ImgCanvas) SetStateChangeCallback(s func())
Click to show internal directories.
Click to hide internal directories.