---
title: PKStrokePoint
framework: pencilkit
role: symbol
role_heading: Structure
path: pencilkit/pkstrokepoint-swift.struct
---

# PKStrokePoint

A structure that represents the properties of a specific point along a stroke’s path.

## Declaration

```swift
struct PKStrokePoint
```

## Topics

### Creating a stroke point object

- [init(location:timeOffset:size:opacity:force:azimuth:altitude:)](pencilkit/pkstrokepoint-swift.struct/init(location:timeoffset:size:opacity:force:azimuth:altitude:).md)
- [init(location:timeOffset:size:opacity:force:azimuth:altitude:secondaryScale:)](pencilkit/pkstrokepoint-swift.struct/init(location:timeoffset:size:opacity:force:azimuth:altitude:secondaryscale:).md)
- [init(location:timeOffset:size:opacity:force:azimuth:altitude:secondaryScale:threshold:)](pencilkit/pkstrokepoint-swift.struct/init(location:timeoffset:size:opacity:force:azimuth:altitude:secondaryscale:threshold:).md)
- [init(location:timeOffset:size:opacity:force:azimuth:altitude:secondaryScale:threshold:lateralJitter:)](pencilkit/pkstrokepoint-swift.struct/init(location:timeoffset:size:opacity:force:azimuth:altitude:secondaryscale:threshold:lateraljitter:).md)

### Getting the point’s location

- [location](pencilkit/pkstrokepoint-swift.struct/location.md)
- [timeOffset](pencilkit/pkstrokepoint-swift.struct/timeoffset.md)

### Getting the point’s touch data

- [altitude](pencilkit/pkstrokepoint-swift.struct/altitude.md)
- [azimuth](pencilkit/pkstrokepoint-swift.struct/azimuth.md)
- [force](pencilkit/pkstrokepoint-swift.struct/force.md)

### Getting the point’s drawing data

- [size](pencilkit/pkstrokepoint-swift.struct/size.md)
- [opacity](pencilkit/pkstrokepoint-swift.struct/opacity.md)
- [secondaryScale](pencilkit/pkstrokepoint-swift.struct/secondaryscale.md)
- [threshold](pencilkit/pkstrokepoint-swift.struct/threshold.md)
- [lateralJitter](pencilkit/pkstrokepoint-swift.struct/lateraljitter.md)

### Using reference types

- [PKStrokePointReference](pencilkit/pkstrokepointreference.md)

## Relationships

### Conforms To

- [Copyable](swift/copyable.md)
- [Escapable](swift/escapable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Canvas

- [Drawing with PencilKit](pencilkit/drawing-with-pencilkit.md)
- [Customizing Scribble with Interactions](pencilkit/customizing-scribble-with-interactions.md)
- [Inspecting, Modifying, and Constructing PencilKit Drawings](pencilkit/inspecting-modifying-and-constructing-pencilkit-drawings.md)
- [Controlling stroke rendering for animation and editing](pencilkit/controlling-stroke-rendering-for-animation-and-editing.md)
- [PKCanvasView](pencilkit/pkcanvasview.md)
- [PKDrawing](pencilkit/pkdrawing-swift.struct.md)
- [PKStroke](pencilkit/pkstroke-swift.struct.md)
- [PKStrokePath](pencilkit/pkstrokepath-swift.struct.md)
- [PKInk](pencilkit/pkink-swift.struct.md)
