__init__ constructor
Leave feedback
On this page
Initializes a new PageTextArea instance.
def __init__(self, text, page, rectangle):
...
| Parameter | Type | Description |
|---|---|---|
| text | str |
The value of the text. |
| page | Page |
The page that contains the text area. |
| rectangle | Rectangle |
The rectangular area that contains the text area. |
Initializes a new PageTextArea.
def __init__(self, text, base_line, text_style, page, rectangle):
...
| Parameter | Type | Description |
|---|---|---|
| text | str |
The value of the text. |
| base_line | Optional[float] |
The base line of the text. |
| text_style | TextStyle |
The style of the text. |
| page | Page |
The page that contains the text area. |
| rectangle | Rectangle |
The rectangular area that contains the text area. |
Initializes a new PageTextArea instance.
def __init__(self, areas, page):
...
| Parameter | Type | Description |
|---|---|---|
| areas | Iterable[PageTextArea] |
The collection of child text page areas. |
| page | Page |
The page that contains the text area. |
- class
PageTextArea
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.