Contents

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.

See Also

Creating a Point