---
title: opacity
framework: pencilkit
role: symbol
role_heading: Instance Property
path: pencilkit/pkstrokepoint-swift.struct/opacity
---

# opacity

Opacity of the point.

## Declaration

```swift
var opacity: CGFloat { get }
```

## Discussion

Discussion The opacity of a PKStrokePoint has a range of 0-2, which is a multiplier of the PKInk opacity.

## See Also

### Getting the point’s drawing data

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