# RenderParameters.HighlightedElement

# RenderParameters.HighlightedElement

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/RenderParameters.kt+class:androidx.wear.watchface.RenderParameters.HighlightedElement)  
Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-watchface#1.0.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/RenderParameters.HighlightedElement "View this page in Java")

<br />

```
sealed class RenderParameters.HighlightedElement
```

<br />

Known direct subclasses  
[RenderParameters.HighlightedElement.AllComplicationSlots](https://developer.android.com/reference/kotlin/androidx/wear/watchface/RenderParameters.HighlightedElement.AllComplicationSlots),[RenderParameters.HighlightedElement.ComplicationSlot](https://developer.android.com/reference/kotlin/androidx/wear/watchface/RenderParameters.HighlightedElement.ComplicationSlot),[RenderParameters.HighlightedElement.UserStyle](https://developer.android.com/reference/kotlin/androidx/wear/watchface/RenderParameters.HighlightedElement.UserStyle)  

|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------|
| [RenderParameters.HighlightedElement.AllComplicationSlots](https://developer.android.com/reference/kotlin/androidx/wear/watchface/RenderParameters.HighlightedElement.AllComplicationSlots) | **This object is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| [RenderParameters.HighlightedElement.ComplicationSlot](https://developer.android.com/reference/kotlin/androidx/wear/watchface/RenderParameters.HighlightedElement.ComplicationSlot)         | **This class is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead.  |
| [RenderParameters.HighlightedElement.UserStyle](https://developer.android.com/reference/kotlin/androidx/wear/watchface/RenderParameters.HighlightedElement.UserStyle)                       | **This class is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead.  |

*** ** * ** ***

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

An element of the watch face to highlight.

## Summary

|                                                                                                                                                                                                                           ### Nested types                                                                                                                                                                                                                           |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `object `[RenderParameters.HighlightedElement.AllComplicationSlots](https://developer.android.com/reference/kotlin/androidx/wear/watchface/RenderParameters.HighlightedElement.AllComplicationSlots)` : `[RenderParameters.HighlightedElement](https://developer.android.com/reference/kotlin/androidx/wear/watchface/RenderParameters.HighlightedElement) **This object is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `class `[RenderParameters.HighlightedElement.ComplicationSlot](https://developer.android.com/reference/kotlin/androidx/wear/watchface/RenderParameters.HighlightedElement.ComplicationSlot)` : `[RenderParameters.HighlightedElement](https://developer.android.com/reference/kotlin/androidx/wear/watchface/RenderParameters.HighlightedElement) **This class is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead.           |
| `class `[RenderParameters.HighlightedElement.UserStyle](https://developer.android.com/reference/kotlin/androidx/wear/watchface/RenderParameters.HighlightedElement.UserStyle)` : `[RenderParameters.HighlightedElement](https://developer.android.com/reference/kotlin/androidx/wear/watchface/RenderParameters.HighlightedElement) **This class is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead.                         |

|                                                                                                                        ### Protected constructors                                                                                                                         |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ~~[HighlightedElement](https://developer.android.com/reference/kotlin/androidx/wear/watchface/RenderParameters.HighlightedElement#HighlightedElement())~~`()` **This function is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead. |

## Protected constructors

### HighlightedElement

```
protected [HighlightedElement](https://developer.android.com/reference/kotlin/androidx/wear/watchface/RenderParameters.HighlightedElement#HighlightedElement())()
```
| **This function is deprecated.**   
| AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff