<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PencilKit",
  "identifier" : "/documentation/PencilKit/PKStrokePointReference/init(location:timeOffset:size:opacity:force:azimuth:altitude:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "PencilKit"
    ],
    "preciseIdentifier" : "c:objc(cs)PKStrokePoint(im)initWithLocation:timeOffset:size:opacity:force:azimuth:altitude:"
  },
  "title" : "init(location:timeOffset:size:opacity:force:azimuth:altitude:)"
}
-->

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

Creates a new point with the provided properties.

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

## Parameters

`location`

The location of this point.

`timeOffset`

The time offset since the start of this stoke path in seconds.

`size`

The size of this point.

`opacity`

The opacity of this point, ranging from `0` to `2`.

`force`

The amount of force used to create this point.

`azimuth`

The azimuth of this point in radians.

`altitude`

The altitude of this point in radians.

## Discussion

---

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)