__init__ constructor
Leave feedback
On this page
Initializes a new instance of Layout.
def __init__(self):
...
Initializes a new instance of Layout.
def __init__(self, name, width, height):
...
| Parameter | Type | Description |
|---|---|---|
| name | str |
The name of the layout. |
| width | float |
The width of the layout in pixels. |
| height | float |
The height of the layout in pixels. |
| Raises | Description |
|---|---|
ValueError |
When name is None or empty. |
- class
Layout
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.