<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PencilKit",
  "identifier" : "/documentation/PencilKit/PKConvertedBezierPointReference",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "PencilKit"
    ],
    "preciseIdentifier" : "c:objc(cs)PKConvertedBezierPoint"
  },
  "title" : "PKConvertedBezierPointReference"
}
-->

# PKConvertedBezierPointReference

An object that provides information about a B-spline control point converted from a Bézier path.

```
class PKConvertedBezierPointReference
```

## Overview

`PKConvertedBezierPointReference` is passed to the `pointProvider` block of `PKStrokePathReference/initWithBezierPath:creationDate:pointProvider:` so you can initialize each `PKStrokePoint` of the resulting path with appropriate values. A single instance is reused for each point in the conversion.

In Swift, use the equivalent value type [`PKStrokePath.ConvertedBezierPoint`](/documentation/PencilKit/PKStrokePath-swift.struct/ConvertedBezierPoint) instead.

## Topics

### Getting the point data

[`var index: Int`](/documentation/PencilKit/PKConvertedBezierPointReference/index)

The index of the point along the path.

[`var pointCount: Int`](/documentation/PencilKit/PKConvertedBezierPointReference/pointCount)

The total number of B-Spline control points in the path.

[`var location: CGPoint`](/documentation/PencilKit/PKConvertedBezierPointReference/location)

The location of the cubic uniform B-Spline control point.

[`var bezierSegmentIndex: Int`](/documentation/PencilKit/PKConvertedBezierPointReference/bezierSegmentIndex)

The index of the Bézier segment the point originates from, not including `move to` elements.

### Using Swift types

[`struct ConvertedBezierPoint`](/documentation/PencilKit/PKStrokePath-swift.struct/ConvertedBezierPoint)

Information about a B-spline control point converted from a Bézier path.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Equatable`](/documentation/Swift/Equatable)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)