Documentation ¶
Index ¶
- type BufPainter
- func (p *BufPainter) HandleOP(op interface{}) error
- func (p *BufPainter) HandleRaw(msg []byte) error
- func (p *BufPainter) Height() int
- func (p *BufPainter) ImageData() []byte
- func (p *BufPainter) Init(op InitOP)
- func (p *BufPainter) Line(op LineOP)
- func (p *BufPainter) Set(buf []byte)
- func (p *BufPainter) Text(op TextOP)
- func (p *BufPainter) Width() int
- type FontCache
- type InitOP
- type LineOP
- type Message
- type TextOP
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BufPainter ¶
type BufPainter struct { OnInit func(InitOP) // contains filtered or unexported fields }
func New ¶
func New() (*BufPainter, error)
func (*BufPainter) HandleOP ¶
func (p *BufPainter) HandleOP(op interface{}) error
func (*BufPainter) HandleRaw ¶
func (p *BufPainter) HandleRaw(msg []byte) error
func (*BufPainter) Height ¶
func (p *BufPainter) Height() int
func (*BufPainter) ImageData ¶
func (p *BufPainter) ImageData() []byte
func (*BufPainter) Init ¶
func (p *BufPainter) Init(op InitOP)
func (*BufPainter) Line ¶
func (p *BufPainter) Line(op LineOP)
func (*BufPainter) Set ¶
func (p *BufPainter) Set(buf []byte)
func (*BufPainter) Text ¶
func (p *BufPainter) Text(op TextOP)
func (*BufPainter) Width ¶
func (p *BufPainter) Width() int
type Message ¶
type Message struct {
Payload interface{}
}
OP Wrapper
func (Message) MarshalJSON ¶
func (*Message) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.