Contents

CGPointMake(_:_:)

Returns a point with the specified coordinates.

Declaration

func CGPointMake(_ x: CGFloat, _ y: CGFloat) -> CGPoint

Parameters

  • x:

    The x-coordinate of the point to construct.

  • y:

    The y-coordinate of the point to construct.

Return Value

A point.

See Also

Creating a Geometric Primitive from Values