One Logo Pool Ball
PencilKit · IOS API REFERENCE

PKStrokePath.ConvertedBezierPoint

struct · iOS 27.0+ · SDK 27.1

struct ConvertedBezierPoint

Information about a B-spline control point converted from a Bézier path. Provided to the `pointProvider` closure of ``init(bezierPath:creationDate:pointProvider:)->Self`` to initialize each ``PKStrokePoint-struct`` of the resulting path.

Members (4)

get · iOS 27.0+

pointCount

TypeScript
get pointCount(): number
Swift declaration
let pointCount: Int

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

get · iOS 27.0+

bezierSegmentIndex

TypeScript
get bezierSegmentIndex(): number
Swift declaration
let bezierSegmentIndex: Int

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

get · iOS 27.0+

index

TypeScript
get index(): number
Swift declaration
let index: Int

The index of the point along the path.

get · iOS 27.0+

location

TypeScript
get location(): { x: number; y: number }
Swift declaration
let location: CGPoint

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

Skipped declarations

No declarations were skipped in this snapshot.

All PencilKit types →