One Logo Pool Ball
SwiftUICore · IOS API REFERENCE

MeshGradient.BezierPoint

struct · iOS 18.0+ · SDK 27.1

@frozen struct BezierPoint

One location in a gradient mesh, along with the four Bezier control points surrounding it.

Members (11)

get · iOS 18.0+

topControlPoint

TypeScript
get topControlPoint(): SDKHandle
Swift declaration
var topControlPoint: SIMD2<Float>

The Bezier control point of the vertex's top edge.

set · iOS 18.0+

topControlPoint

TypeScript
set topControlPoint(value: SDKHandle)
Swift declaration
var topControlPoint: SIMD2<Float>

The Bezier control point of the vertex's top edge.

get · iOS 18.0+

bottomControlPoint

TypeScript
get bottomControlPoint(): SDKHandle
Swift declaration
var bottomControlPoint: SIMD2<Float>

The Bezier control point of the vertex's bottom edge.

set · iOS 18.0+

bottomControlPoint

TypeScript
set bottomControlPoint(value: SDKHandle)
Swift declaration
var bottomControlPoint: SIMD2<Float>

The Bezier control point of the vertex's bottom edge.

get · iOS 18.0+

leadingControlPoint

TypeScript
get leadingControlPoint(): SDKHandle
Swift declaration
var leadingControlPoint: SIMD2<Float>

The Bezier control point of the vertex's leading edge.

set · iOS 18.0+

leadingControlPoint

TypeScript
set leadingControlPoint(value: SDKHandle)
Swift declaration
var leadingControlPoint: SIMD2<Float>

The Bezier control point of the vertex's leading edge.

get · iOS 18.0+

trailingControlPoint

TypeScript
get trailingControlPoint(): SDKHandle
Swift declaration
var trailingControlPoint: SIMD2<Float>

The Bezier control point of the vertex's trailing edge.

set · iOS 18.0+

trailingControlPoint

TypeScript
set trailingControlPoint(value: SDKHandle)
Swift declaration
var trailingControlPoint: SIMD2<Float>

The Bezier control point of the vertex's trailing edge.

init · iOS 18.0+

init

TypeScript
static init(position: SDKHandle, leadingControlPoint: SDKHandle, topControlPoint: SDKHandle, trailingControlPoint: SDKHandle, bottomControlPoint: SDKHandle): MeshGradient_BezierPoint
Swift 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 · iOS 18.0+

position

TypeScript
get position(): SDKHandle
Swift declaration
var position: SIMD2<Float>

The position of the vertex.

set · iOS 18.0+

position

TypeScript
set position(value: SDKHandle)
Swift declaration
var position: SIMD2<Float>

The position of the vertex.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUICore types →