Documentation
¶
Index ¶
- type Asciitor
- func (a *Asciitor) Prepare() error
- func (a *Asciitor) Render(img image.Image, options RenderOptions) ([][]rune, error)
- func (a *Asciitor) SetBlockSize(size int) error
- func (a *Asciitor) SetCharset(charset []rune) error
- func (a *Asciitor) SetFace(face *font.Face) error
- func (a *Asciitor) SetFontSize(size int) error
- type AsciitorOptions
- type RenderOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Asciitor ¶
type Asciitor struct {
// contains filtered or unexported fields
}
func NewAsciitor ¶
func NewAsciitor(options AsciitorOptions) (*Asciitor, error)
func (*Asciitor) SetBlockSize ¶
func (*Asciitor) SetCharset ¶
func (*Asciitor) SetFontSize ¶
type AsciitorOptions ¶
type RenderOptions ¶
type RenderOptions struct {
OutputSize sizing.OutputSize
KeepProportions bool
Inverse bool
}
Click to show internal directories.
Click to hide internal directories.