init(x:y:)
Creates a two dimensional point with the given coordinates.
Declaration
init(x: Float, y: Float)Parameters
- x:
The x-coordinate for the point.
- y:
The y-coordinate for the point.
Creates a two dimensional point with the given coordinates.
init(x: Float, y: Float)The x-coordinate for the point.
The y-coordinate for the point.