---
title: "init(location:timeOffset:size:opacity:force:azimuth:altitude:secondaryScale:threshold:)"
framework: pencilkit
role: symbol
role_heading: Initializer
path: "pencilkit/pkstrokepointreference/init(location:timeoffset:size:opacity:force:azimuth:altitude:secondaryscale:threshold:)"
---

# init(location:timeOffset:size:opacity:force:azimuth:altitude:secondaryScale:threshold:)

Creates a stroke point with the specified properties, including a rendering threshold.

## Declaration

```swift
init(location: CGPoint, timeOffset: TimeInterval, size: CGSize, opacity: CGFloat, force: CGFloat, azimuth: CGFloat, altitude: CGFloat, secondaryScale: CGFloat, threshold: CGFloat)
```
