---
title: "CGPointMake(_:_:)"
framework: coregraphics
role: symbol
role_heading: Function
path: "coregraphics/cgpointmake(_:_:)"
---

# CGPointMake(_:_:)

Returns a point with the specified coordinates.

## Declaration

```swift
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

Return Value A point.

## See Also

### Creating a Geometric Primitive from Values

- [CGRectMake(_:_:_:_:)](coregraphics/cgrectmake(_:_:_:_:).md)
- [CGSizeMake(_:_:)](coregraphics/cgsizemake(_:_:).md)
- [CGVectorMake(_:_:)](coregraphics/cgvectormake(_:_:).md)
