Contents

threshold

The threshold for clipping the stroke rendering.

Declaration

var threshold: CGFloat { get }

Discussion

When rendering only pixels with an alpha greater than the threshold are drawn. A threshold of 0 has no affect on rendering, a threshold of 1 does not draw anything. Thresholds are only used for some inks, eg. PKInkIdentifierReed.