init(x:y:)
Creates a point object with the specified coordinates.
Declaration
init(x: Double, y: Double)Parameters
- x:
The x-coordinate value.
- y:
The y-coordinate value.
Creates a point object with the specified coordinates.
init(x: Double, y: Double)The x-coordinate value.
The y-coordinate value.