topControlPoint
TypeScriptget topControlPoint(): SDKHandleSwift declarationvar topControlPoint: SIMD2<Float>The Bezier control point of the vertex's top edge.
struct · iOS 18.0+ · SDK 27.1
@frozen struct BezierPointOne location in a gradient mesh, along with the four Bezier control points surrounding it.
get topControlPoint(): SDKHandleSwift declarationvar topControlPoint: SIMD2<Float>The Bezier control point of the vertex's top edge.
set topControlPoint(value: SDKHandle)Swift declarationvar topControlPoint: SIMD2<Float>The Bezier control point of the vertex's top edge.
get bottomControlPoint(): SDKHandleSwift declarationvar bottomControlPoint: SIMD2<Float>The Bezier control point of the vertex's bottom edge.
set bottomControlPoint(value: SDKHandle)Swift declarationvar bottomControlPoint: SIMD2<Float>The Bezier control point of the vertex's bottom edge.
get leadingControlPoint(): SDKHandleSwift declarationvar leadingControlPoint: SIMD2<Float>The Bezier control point of the vertex's leading edge.
set leadingControlPoint(value: SDKHandle)Swift declarationvar leadingControlPoint: SIMD2<Float>The Bezier control point of the vertex's leading edge.
get trailingControlPoint(): SDKHandleSwift declarationvar trailingControlPoint: SIMD2<Float>The Bezier control point of the vertex's trailing edge.
set trailingControlPoint(value: SDKHandle)Swift declarationvar trailingControlPoint: SIMD2<Float>The Bezier control point of the vertex's trailing edge.
static init(position: SDKHandle, leadingControlPoint: SDKHandle, topControlPoint: SDKHandle, trailingControlPoint: SDKHandle, bottomControlPoint: SDKHandle): MeshGradient_BezierPointSwift declaration@export(implementation) init(position: SIMD2<Float>, leadingControlPoint: SIMD2<Float>, topControlPoint: SIMD2<Float>, trailingControlPoint: SIMD2<Float>, bottomControlPoint: SIMD2<Float>)Creates a new vertex. - Parameters: - position: the position of the vertex in the coordinate space the gradient is interpreted in. - leadingControlPoint: the Bezier control point of the vertex's leading edge. - topControlPoint: the Bezier control point of the vertex's top edge. - trailingControlPoint: the Bezier control point of the vertex's trailing edge. - bottomControlPoint: the Bezier control point of the vertex's bottom edge.
get position(): SDKHandleSwift declarationvar position: SIMD2<Float>The position of the vertex.
set position(value: SDKHandle)Swift declarationvar position: SIMD2<Float>The position of the vertex.
No declarations were skipped in this snapshot.