---
title: "init(start:control:end:)"
framework: paperkit
role: symbol
role_heading: Initializer
path: "paperkit/shapemarkup/shape-swift.enum/line/init(start:control:end:)"
---

# init(start:control:end:)

Create a new quadratic Bézier curve line.

## Declaration

```swift
init(start: CGPoint, control: CGPoint? = nil, end: CGPoint)
```

## Parameters

- `start`: The starting point in unit coordinate space.
- `control`: The control point that defines the curve in unit coordinate space. Defaults to nil which creates a straight line without a middle control point.
- `end`: The ending point in unit coordinate space.
