---
title: currentPoint
framework: coregraphics
role: symbol
role_heading: Instance Property
path: coregraphics/cgpath/currentpoint
---

# currentPoint

Returns the current point in a graphics path.

## Declaration

```swift
var currentPoint: CGPoint { get }
```

## Discussion

Discussion If the path is empty—that is, if it has no elements—this function returns CGPointZero (see CGGeometry). To determine whether a path is empty, use isEmpty.

## See Also

### Examining a Graphics Path

- [boundingBox](coregraphics/cgpath/boundingbox.md)
- [boundingBoxOfPath](coregraphics/cgpath/boundingboxofpath.md)
- [contains(_:using:transform:)](coregraphics/cgpath/contains(_:using:transform:).md)
- [isEmpty](coregraphics/cgpath/isempty.md)
- [isRect(_:)](coregraphics/cgpath/isrect(_:).md)
