---
title: bezierSegmentIndex
framework: pencilkit
role: symbol
role_heading: Instance Property
path: pencilkit/pkstrokepath-swift.struct/convertedbezierpoint/beziersegmentindex
---

# bezierSegmentIndex

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

## Declaration

```swift
let bezierSegmentIndex: Int
```

## See Also

### Getting the point data

- [index](pencilkit/pkstrokepath-swift.struct/convertedbezierpoint/index.md)
- [pointCount](pencilkit/pkstrokepath-swift.struct/convertedbezierpoint/pointcount.md)
- [location](pencilkit/pkstrokepath-swift.struct/convertedbezierpoint/location.md)
