<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/UnitCurve/bezier(startControlPoint:endControlPoint:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI9UnitCurveV6bezier17startControlPoint03endgH0AcA0cH0V_AHtFZ"
  },
  "title" : "bezier(startControlPoint:endControlPoint:)"
}
-->

# bezier(startControlPoint:endControlPoint:)

Creates a new curve using bezier control points.

```
static func bezier(startControlPoint: UnitPoint, endControlPoint: UnitPoint) -> UnitCurve
```

## Parameters

`startControlPoint`

The cubic Bézier control point associated with
the curve’s start point at (0, 0). The tangent vector from the
start point to its control point defines the initial velocity of
the timing function.

`endControlPoint`

The cubic Bézier control point associated with the
curve’s end point at (1, 1). The tangent vector from the end point
to its control point defines the final velocity of the timing
function.

## Discussion

The x components of the control points are clamped to the range [0,1] when
the curve is evaluated.

---

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)