Documentation ¶
Index ¶
- type CoverColors
- type Draw
- func (d *Draw) Draw(ctx context.Context, source fetcher.Result) error
- func (d *Draw) DrawBase(ctx context.Context, source fetcher.Result) error
- func (d *Draw) DrawOver(ctx context.Context, source fetcher.Result) error
- func (d *Draw) Reset()
- func (d *Draw) SetBackground(_ context.Context, _ fetcher.Result) error
- func (d *Draw) SetImage(ctx context.Context, source fetcher.Result) error
- func (d *Draw) SetText(ctx context.Context, source fetcher.Result) error
- func (d *Draw) Write(target io.Writer) error
- type DrawOptions
- type DrawPipe
- type Fonts
- type Footer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoverColors ¶
func NewCoverColors ¶
func NewCoverColors(im image.Image) CoverColors
type Draw ¶
type Draw struct { DrawOptions Colors CoverColors // contains filtered or unexported fields }
func NewDraw ¶
func NewDraw(opts DrawOptions) (*Draw, error)
func (*Draw) SetBackground ¶
type DrawOptions ¶
Click to show internal directories.
Click to hide internal directories.