# ComplicationSlotBoundsType

# ComplicationSlotBoundsType

Artifact:[androidx.wear.watchface:watchface](https://developer.android.com/jetpack/androidx/releases/wear-watchface)  
[View Source](https://cs.android.com/search?q=file:androidx/wear/watchface/ComplicationSlot.kt+class:androidx.wear.watchface.ComplicationSlotBoundsType)  
Added in[1.2.0](https://developer.android.com/jetpack/androidx/releases/wear-watchface#1.2.0)  
Deprecated in[1.3.0-alpha07](https://developer.android.com/jetpack/androidx/releases/wear-watchface#1.3.0-alpha07)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/wear/watchface/ComplicationSlotBoundsType "View this page in Java")

<br />

```
object ComplicationSlotBoundsType
```

<br />

*** ** * ** ***

| **This object is deprecated.**   
| AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The various types of[ComplicationSlot](https://developer.android.com/reference/kotlin/androidx/wear/watchface/ComplicationSlot)bounds.

use Watch Face Format instead

## Summary

|                                    ### Constants                                    |
|-------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [BACKGROUND](https://developer.android.com/reference/kotlin/androidx/wear/watchface/ComplicationSlotBoundsType#BACKGROUND())` = 1` **This property is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EDGE](https://developer.android.com/reference/kotlin/androidx/wear/watchface/ComplicationSlotBoundsType#EDGE())` = 2` **This property is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead.             |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [ROUND_RECT](https://developer.android.com/reference/kotlin/androidx/wear/watchface/ComplicationSlotBoundsType#ROUND_RECT())` = 0` **This property is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead. |

## Constants

### BACKGROUND

Added in[1.2.0](https://developer.android.com/jetpack/androidx/releases/wear-watchface#1.2.0)  
Deprecated in[1.3.0-alpha07](https://developer.android.com/jetpack/androidx/releases/wear-watchface#1.3.0-alpha07)  

```
const val BACKGROUND = 1: Int
```
| **This property is deprecated.**   
| AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

For a full screen image complication slot drawn behind the watch face. Note you can only have a single background complication slot.  

### EDGE

Added in[1.2.0](https://developer.android.com/jetpack/androidx/releases/wear-watchface#1.2.0)  
Deprecated in[1.3.0-alpha07](https://developer.android.com/jetpack/androidx/releases/wear-watchface#1.3.0-alpha07)  

```
const val EDGE = 2: Int
```
| **This property is deprecated.**   
| AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

For edge of screen complication slots.  

### ROUND_RECT

Added in[1.2.0](https://developer.android.com/jetpack/androidx/releases/wear-watchface#1.2.0)  
Deprecated in[1.3.0-alpha07](https://developer.android.com/jetpack/androidx/releases/wear-watchface#1.3.0-alpha07)  

```
const val ROUND_RECT = 0: Int
```
| **This property is deprecated.**   
| AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The default, most complication slots are either circular or rounded rectangles.