__init__ constructor
init
Initializes a new Point with the specified coordinates.
def __init__(self, x, y):
...
| Parameter | Type | Description |
|---|---|---|
| x | float |
The x coordinate. |
| y | float |
The y coordinate. |
Example
from groupdocs.annotation.models import Point
p = Point(80.0, 600.0)
See Also
- class
Point