__init__ constructor
Leave feedback
On this page
Initializes a FontStyles instance from specified bold and italic flags.
def __init__(self, is_bold, is_italic):
...
| Parameter | Type | Description |
|---|---|---|
| is_bold | bool |
Bold flag. |
| is_italic | bool |
Italic flag. |
- class
FontStyles
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.