__init__ constructor
Leave feedback
On this page
Initializes a new instance of Character.
def __init__(self):
...
Initializes a new Character instance.
def __init__(self, character, x, y, width, height):
...
| Parameter | Type | Description |
|---|---|---|
| character | str |
The character. |
| x | float |
The X coordinate of the highest left point on the page layout where the rectangle that contains character begins. |
| y | float |
The Y coordinate of the highest left point on the page layout where the rectangle that contains character begins. |
| width | float |
The width of the rectangle which contains single character (in pixels). |
| height | float |
The height of the rectangle which contains single character (in pixels). |
- class
Character
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.