<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PencilKit",
  "identifier" : "/documentation/PencilKit/PKStrokePathReference/parametricValue(_:offsetByTime:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "PencilKit"
    ],
    "preciseIdentifier" : "c:objc(cs)PKStrokePath(im)parametricValue:offsetByTime:"
  },
  "title" : "parametricValue(_:offsetByTime:)"
}
-->

# parametricValue(_:offsetByTime:)

Returns a parametric value on the B-spline that’s a specified time from the given parametric value.

```
func parametricValue(_ parametricValue: CGFloat, offsetByTime timeStep: TimeInterval) -> CGFloat
```

## Parameters

`parametricValue`

The floating point `[0, count-1]` parametric value.

`timeStep`

The time to offset `parametricValue;` `timeStep` can be positive or negative.

## Return Value

A parametric value offset by `timeStep` from `parametricValue`.

## 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)