Versions in this module Expand all Collapse all v0 v0.0.0 Apr 11, 2022 Changes in this version + type Placer struct + Drawer font.Drawer + Dst draw.Image + Face font.Face + Size float64 + func NewPlacer(dst draw.Image, fontPath string, size float64) (Placer, error) + func (p *Placer) Bounds(text string, wrapwidth int) (width int, height int) + func (p *Placer) CenterAt(pt image.Point, text string, wrapwidth int, align string) + func (p *Placer) SetColor(c color.Color) + func (p *Placer) SetFont(fontPath string) error + func (p *Placer) WriteAt(pt image.Point, text string, wrapwidth int, align string) + func (p *Placer) WriteAtCenter(text string, wrapwidth int, align string)