__init__ constructor
Leave feedback
On this page
Initializes a new Font instance with default size 12.
def __init__(self, font_family_name):
...
| Parameter | Type | Description |
|---|---|---|
| font_family_name | str |
Font name |
Initializes a new Font instance.
def __init__(self, font_family_name, size):
...
| Parameter | Type | Description |
|---|---|---|
| font_family_name | str |
Font name. |
| size | float |
Font size. |
- 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.