Point constructor
init(self, x=0, y=0)
Creates a point with the specified coordinates. Float values are truncated to integers.
def __init__(self, x=0, y=0):
...
| Parameter | Type | Description |
|---|---|---|
| x | int | The horizontal position of the point. |
| y | int | The vertical position of the point. |
Exceptions
| Exception | Description |
|---|---|
| TypeError | A coordinate is not a number. |
See Also
- class
Point - module
aspose.slides - library
Aspose.Slides