---
title: "interpolatedLocation(at:)"
framework: pencilkit
role: symbol
role_heading: Instance Method
path: "pencilkit/pkstrokepathreference/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 supplied parametricValue.

## See Also

### Accessing and interpolating points

- [enumerateInterpolatedPoints(in:strideByDistance:using:)](pencilkit/pkstrokepathreference/enumerateinterpolatedpoints(in:stridebydistance:using:).md)
- [enumerateInterpolatedPoints(in:strideByParametricStep:using:)](pencilkit/pkstrokepathreference/enumerateinterpolatedpoints(in:stridebyparametricstep:using:).md)
- [enumerateInterpolatedPoints(in:strideByTime:using:)](pencilkit/pkstrokepathreference/enumerateinterpolatedpoints(in:stridebytime:using:).md)
- [interpolatedPoint(at:)](pencilkit/pkstrokepathreference/interpolatedpoint(at:).md)
- [parametricValue(_:offsetByDistance:)](pencilkit/pkstrokepathreference/parametricvalue(_:offsetbydistance:).md)
- [parametricValue(_:offsetByTime:)](pencilkit/pkstrokepathreference/parametricvalue(_:offsetbytime:).md)
- [point(at:)](pencilkit/pkstrokepathreference/point(at:).md)
- [subscript(_:)](pencilkit/pkstrokepathreference/subscript(_:).md)
