One Logo Pool Ball
PHASE · IOS API REFERENCE

PHASEEnvelope

class · iOS 15.0+ · SDK 27.1

class PHASEEnvelope

Members (6)

method · iOS 15.0+

evaluate

TypeScript
evaluate(x: number): number
Swift declaration
func evaluate(x: Double) -> Double
init · iOS 15.0+

init

TypeScript
static init(startPoint: SDKHandle, segments: Array<PHASEEnvelopeSegment>): (PHASEEnvelope) | null
Swift declaration
init?(startPoint: simd_double2, segments: [PHASEEnvelopeSegment])
get · iOS 15.0+

domain

TypeScript
get domain(): PHASENumericPair
Swift declaration
var domain: PHASENumericPair { get }
get · iOS 15.0+

range

TypeScript
get range(): PHASENumericPair
Swift declaration
var range: PHASENumericPair { get }
get · iOS 15.0+

segments

TypeScript
get segments(): Array<PHASEEnvelopeSegment>
Swift declaration
var segments: [PHASEEnvelopeSegment] { get }
get · iOS 15.0+

startPoint

TypeScript
get startPoint(): SDKHandle
Swift declaration
var startPoint: simd_double2 { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

PHASEEnvelope.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All PHASE types →