__init__ constructor
Leave feedback
On this page
Initializes a regular-style font for text measurement in redaction options.
def __init__(self, name, size):
...
| Parameter | Type | Description |
|---|---|---|
| name | str |
Font family name. |
| size | float |
Font size in points. |
Initializes a font with the specified style for text measurement in redaction options.
def __init__(self, name, size, style):
...
| Parameter | Type | Description |
|---|---|---|
| name | str |
Font family name. |
| size | float |
Font size in points. |
| style | FontStyle |
Style flags for the expected text. |
- class
Font
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.