PencilKit · IOS API REFERENCE
PKStrokePointReference
class · iOS 14.0+ · SDK 27.1
class PKStrokePointReference
Members (14)
init · iOS 14.0+init
TypeScriptstatic initLocationTimeOffsetSizeOpacityForceAzimuthAltitude(location: { x: number; y: number }, timeOffset: number, size: { width: number; height: number }, opacity: number, force: number, azimuth: number, altitude: number): PKStrokePointReference
Swift declarationinit(location: CGPoint, timeOffset: TimeInterval, size: CGSize, opacity: CGFloat, force: CGFloat, azimuth: CGFloat, altitude: CGFloat)
init · iOS 17.0+init
TypeScriptstatic initLocationTimeOffsetSizeOpacityForceAzimuthAltitudeSecondaryScale(location: { x: number; y: number }, timeOffset: number, size: { width: number; height: number }, opacity: number, force: number, azimuth: number, altitude: number, secondaryScale: number): PKStrokePointReference
Swift declarationinit(location: CGPoint, timeOffset: TimeInterval, size: CGSize, opacity: CGFloat, force: CGFloat, azimuth: CGFloat, altitude: CGFloat, secondaryScale: CGFloat)
init · iOS 26.0+init
TypeScriptstatic initLocationTimeOffsetSizeOpacityForceAzimuthAltitudeSecondaryScaleThreshold(location: { x: number; y: number }, timeOffset: number, size: { width: number; height: number }, opacity: number, force: number, azimuth: number, altitude: number, secondaryScale: number, threshold: number): PKStrokePointReference
Swift declarationinit(location: CGPoint, timeOffset: TimeInterval, size: CGSize, opacity: CGFloat, force: CGFloat, azimuth: CGFloat, altitude: CGFloat, secondaryScale: CGFloat, threshold: CGFloat)
init · iOS 27.0+init
TypeScriptstatic initLocationTimeOffsetSizeOpacityForceAzimuthAltitudeSecondaryScaleThresholdLateralJitter(location: { x: number; y: number }, timeOffset: number, size: { width: number; height: number }, opacity: number, force: number, azimuth: number, altitude: number, secondaryScale: number, threshold: number, lateralJitter: number): PKStrokePointReference
Swift declarationinit(location: CGPoint, timeOffset: TimeInterval, size: CGSize, opacity: CGFloat, force: CGFloat, azimuth: CGFloat, altitude: CGFloat, secondaryScale: CGFloat, threshold: CGFloat, lateralJitter: CGFloat)
get · iOS 14.0+altitude
TypeScriptget altitude(): number
Swift declarationvar altitude: CGFloat { get }
get · iOS 14.0+azimuth
TypeScriptget azimuth(): number
Swift declarationvar azimuth: CGFloat { get }
get · iOS 14.0+force
TypeScriptget force(): number
Swift declarationvar force: CGFloat { get }
get · iOS 27.0+lateralJitter
TypeScriptget lateralJitter(): number
Swift declarationvar lateralJitter: CGFloat { get }
get · iOS 14.0+location
TypeScriptget location(): { x: number; y: number }
Swift declarationvar location: CGPoint { get }
get · iOS 14.0+opacity
TypeScriptget opacity(): number
Swift declarationvar opacity: CGFloat { get }
get · iOS 17.0+secondaryScale
TypeScriptget secondaryScale(): number
Swift declarationvar secondaryScale: CGFloat { get }
get · iOS 14.0+size
TypeScriptget size(): { width: number; height: number }
Swift declarationvar size: CGSize { get }
get · iOS 26.0+threshold
TypeScriptget threshold(): number
Swift declarationvar threshold: CGFloat { get }
get · iOS 14.0+timeOffset
TypeScriptget timeOffset(): number
Swift declarationvar timeOffset: TimeInterval { get }
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
PKStrokePointReference.init()
inherited init: cannot prove legal (class declares 4 custom initializers)
All PencilKit types →