Contents

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.

See Also

Creating a point