<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreGraphics",
  "identifier" : "/documentation/CoreGraphics/CGPointMake(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Graphics"
    ],
    "preciseIdentifier" : "c:@F@CGPointMake"
  },
  "title" : "CGPointMake(_:_:)"
}
-->

# CGPointMake(_:_:)

Returns a point with the specified coordinates.

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

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)