---
title: "init(endPoint:curveType:)"
framework: phase
role: symbol
role_heading: Initializer
path: "phase/phaseenvelopesegment/init(endpoint:curvetype:)"
---

# init(endPoint:curveType:)

Creates a curved portion of an envelope.

## Declaration

```swift
init(endPoint: simd_double2, curveType: PHASECurveType)
```

## Parameters

- `endPoint`: The segment’s end point.
- `curveType`: A curve that defines the segment’s portion of the envelope.
