<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -",
    "watchOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/MeshGradient/BezierPoint/init(position:leadingControlPoint:topControlPoint:trailingControlPoint:bottomControlPoint:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI12MeshGradientV11BezierPointV8position014leadingControlF003topiF008trailingiF006bottomiF0AEs5SIMD2VySfG_A4Mtcfc"
  },
  "title" : "init(position:leadingControlPoint:topControlPoint:trailingControlPoint:bottomControlPoint:)"
}
-->

# init(position:leadingControlPoint:topControlPoint:trailingControlPoint:bottomControlPoint:)

Creates a new vertex.

```
@export(implementation) init(position: SIMD2<Float>, leadingControlPoint: SIMD2<Float>, topControlPoint: SIMD2<Float>, trailingControlPoint: SIMD2<Float>, bottomControlPoint: SIMD2<Float>)
```

## 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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)