---
title: "init(radialHeadroom:space:start:startRadius:end:endRadius:function:extendStart:extendEnd:)"
framework: coregraphics
role: symbol
role_heading: Initializer
path: "coregraphics/cgshading/init(radialheadroom:space:start:startradius:end:endradius:function:extendstart:extendend:)"
---

# init(radialHeadroom:space:start:startRadius:end:endRadius:function:extendStart:extendEnd:)

## Declaration

```swift
init?(radialHeadroom headroom: Float, space: CGColorSpace, start: CGPoint, startRadius: CGFloat, end: CGPoint, endRadius: CGFloat, function: CGFunction, extendStart: Bool, extendEnd: Bool)
```
