---
title: "init(imageProvider:fillFraction:ringStyle:)"
framework: clockkit
role: symbol
role_heading: Initializer
path: "clockkit/clkcomplicationtemplateextralargeringimage/init(imageprovider:fillfraction:ringstyle:)"
---

# init(imageProvider:fillFraction:ringStyle:)

Creates a new template from the provided image, fill fraction, and ring style.

## Declaration

```swift
init(imageProvider: CLKImageProvider, fillFraction: Float, ringStyle: CLKComplicationRingStyle)
```

## Parameters

- `imageProvider`: The image provider for the main image. The system renders the image as a tinted template image, a bitmap image where only the opacity of the image matters. For more information, see doc://com.apple.documentation/documentation/UIKit/providing-images-for-different-appearances#Create-tintable-images-using-template-images.
- `fillFraction`: A value between 0.0 and 1.0 that indicates how much of the ring fills.
- `ringStyle`: The ring’s style. For a complete list of styles, see doc://com.apple.clockkit/documentation/ClockKit/CLKComplicationRingStyle.
