Documentation
¶
Overview ¶
Package ggtext draws text on images. It is a modified copy of a portion of github.com/fogleman/gg by Michael Fogleman. See LICENSE.md for the original copyright notice.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Drawer ¶
Drawer is a font drawer
func (*Drawer) DrawAnchored ¶
DrawAnchored draws the specified text at the specified anchor point. The anchor point is x - w * ax, y - h * ay, where w, h is the size of the text. Use ax=0.5, ay=0.5 to center the text at the specified point.
Click to show internal directories.
Click to hide internal directories.