One Logo Pool Ball
PencilKit · IOS API REFERENCE

PKStrokePointReference

class · iOS 14.0+ · SDK 27.1

class PKStrokePointReference

Members (14)

init · iOS 14.0+

init

TypeScript
static initLocationTimeOffsetSizeOpacityForceAzimuthAltitude(location: { x: number; y: number }, timeOffset: number, size: { width: number; height: number }, opacity: number, force: number, azimuth: number, altitude: number): PKStrokePointReference
Swift declaration
init(location: CGPoint, timeOffset: TimeInterval, size: CGSize, opacity: CGFloat, force: CGFloat, azimuth: CGFloat, altitude: CGFloat)
init · iOS 17.0+

init

TypeScript
static 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 declaration
init(location: CGPoint, timeOffset: TimeInterval, size: CGSize, opacity: CGFloat, force: CGFloat, azimuth: CGFloat, altitude: CGFloat, secondaryScale: CGFloat)
init · iOS 26.0+

init

TypeScript
static 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 declaration
init(location: CGPoint, timeOffset: TimeInterval, size: CGSize, opacity: CGFloat, force: CGFloat, azimuth: CGFloat, altitude: CGFloat, secondaryScale: CGFloat, threshold: CGFloat)
init · iOS 27.0+

init

TypeScript
static 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 declaration
init(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

TypeScript
get altitude(): number
Swift declaration
var altitude: CGFloat { get }
get · iOS 14.0+

azimuth

TypeScript
get azimuth(): number
Swift declaration
var azimuth: CGFloat { get }
get · iOS 14.0+

force

TypeScript
get force(): number
Swift declaration
var force: CGFloat { get }
get · iOS 27.0+

lateralJitter

TypeScript
get lateralJitter(): number
Swift declaration
var lateralJitter: CGFloat { get }
get · iOS 14.0+

location

TypeScript
get location(): { x: number; y: number }
Swift declaration
var location: CGPoint { get }
get · iOS 14.0+

opacity

TypeScript
get opacity(): number
Swift declaration
var opacity: CGFloat { get }
get · iOS 17.0+

secondaryScale

TypeScript
get secondaryScale(): number
Swift declaration
var secondaryScale: CGFloat { get }
get · iOS 14.0+

size

TypeScript
get size(): { width: number; height: number }
Swift declaration
var size: CGSize { get }
get · iOS 26.0+

threshold

TypeScript
get threshold(): number
Swift declaration
var threshold: CGFloat { get }
get · iOS 14.0+

timeOffset

TypeScript
get timeOffset(): number
Swift declaration
var 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 →