OEDrawText
OEDrawText(image: OEImageBase, text: str, font: OEFont,
padding: float = 5.0) -> None
Draws the given text to the image respecting the font alignment.
- text
The text that is going to be rendered into the given image.
- font
The OEFont object that encapsulates properties that determine the display style of text.
- padding
Defines the padding used on the left and right of the given cell as a percentage of the width of the cell.
See also
OEImageBase class
OEFont class
OEDrawTextToCenterfunction