---
title: "interpolatedLocation(at:)"
framework: pencilkit
role: symbol
role_heading: Instance Method
path: "pencilkit/pkstrokepath-swift.struct/interpolatedlocation(at:)"
---

# interpolatedLocation(at:)

Returns the on-curve point for the floating point parametric value.

## Declaration

```swift
func interpolatedLocation(at parametricValue: CGFloat) -> CGPoint
```

## Parameters

- `parametricValue`: The on-curve location [0, count-1] where interpolation occurs.

## Return Value

Return Value A CGPoint interpolated from the supplied parametricValue.

## See Also

### Accessing and interpolating points

- [interpolatedPoints(in:by:)](pencilkit/pkstrokepath-swift.struct/interpolatedpoints(in:by:).md)
- [interpolatedPoint(at:)](pencilkit/pkstrokepath-swift.struct/interpolatedpoint(at:).md)
- [parametricValue(_:offsetBy:)](pencilkit/pkstrokepath-swift.struct/parametricvalue(_:offsetby:).md)
