---
title: "init(path:)"
framework: uikit
role: symbol
role_heading: Initializer
path: "uikit/uifocushaloeffect/init(path:)"
---

# init(path:)

Creates a halo effect using the specified Bézier path.

## Declaration

```swift
convenience init(path bezierPath: UIBezierPath)
```

## See Also

### Creating a halo effect

- [init(roundedRect:cornerRadius:curve:)](uikit/uifocushaloeffect/init(roundedrect:cornerradius:curve:).md)
- [init(rect:)](uikit/uifocushaloeffect/init(rect:).md)
