Expand description
A library to make placing text on images easier. Extends draw_text_mut’s functionality from imageproc.
Structs§
- Font
Bundle - A bundle of font related values.
Enums§
- Text
Justify - Defines how the text extends from the point you place it.
- Text
OnImage Error - Vertical
Anchor - Defines where the text sits relative to the vertical coordinate provided.
- Wrap
Behavior - Choose whether text wraps if it would extend beyond a specified pixel length.
Functions§
- text_
on_ image - Draws text on an image with support for text jusification, vertical anchor, and line wrapping.
- text_
on_ image_ draw_ debug - Draws text on an image with a small cross where the coordinates are.