# ComplicationStyle

Artifact: [androidx.wear.watchface:watchface-complications-rendering](https://developer.android.com/jetpack/androidx/releases/wear-watchface) [View Source](https://cs.android.com/search?q=file:androidx/wear/watchface/complications/rendering/ComplicationStyle.kt+class:androidx.wear.watchface.complications.rendering.ComplicationStyle) 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)

*** ** * ** ***


```
public final class ComplicationStyle
```

<br />

*** ** * ** ***

> [!CAUTION]
> **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

Defines attributes to customize appearance of rendered \[ \].

use Watch Face Format instead

## Summary

| ### Constants |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/Px int` | `https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#BORDER_RADIUS_DEFAULT()` **This field is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `static final int` | `https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#BORDER_STYLE_DASHED() = 2` **This field is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `static final int` | `https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#BORDER_STYLE_NONE() = 0` **This field is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `static final int` | `https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#BORDER_STYLE_SOLID() = 1` **This field is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |

| ### Public constructors |
|---|
| `[ComplicationStyle](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#ComplicationStyle())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `[ComplicationStyle](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#ComplicationStyle(androidx.wear.watchface.complications.rendering.ComplicationStyle))(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle style)` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |

| ### Public methods |
|---|---|
| `final @https://developer.android.com/reference/androidx/annotation/ColorInt int` | `[getBackgroundColor](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getBackgroundColor())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final https://developer.android.com/reference/android/graphics/drawable/Drawable.html` | `[getBackgroundDrawable](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getBackgroundDrawable())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final @https://developer.android.com/reference/androidx/annotation/ColorInt int` | `[getBorderColor](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getBorderColor())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final @https://developer.android.com/reference/androidx/annotation/Px int` | `[getBorderDashGap](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getBorderDashGap())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final @https://developer.android.com/reference/androidx/annotation/Px int` | `[getBorderDashWidth](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getBorderDashWidth())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final @https://developer.android.com/reference/androidx/annotation/Px int` | `[getBorderRadius](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getBorderRadius())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final int` | `[getBorderStyle](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getBorderStyle())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final @https://developer.android.com/reference/androidx/annotation/Px int` | `[getBorderWidth](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getBorderWidth())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final @https://developer.android.com/reference/androidx/annotation/ColorInt int` | `[getHighlightColor](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getHighlightColor())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final @https://developer.android.com/reference/androidx/annotation/ColorInt int` | `[getIconColor](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getIconColor())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final https://developer.android.com/reference/android/graphics/ColorFilter.html` | `[getImageColorFilter](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getImageColorFilter())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final @https://developer.android.com/reference/androidx/annotation/ColorInt int` | `[getRangedValuePrimaryColor](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getRangedValuePrimaryColor())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final @https://developer.android.com/reference/androidx/annotation/Px int` | `[getRangedValueRingWidth](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getRangedValueRingWidth())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final @https://developer.android.com/reference/androidx/annotation/ColorInt int` | `[getRangedValueSecondaryColor](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getRangedValueSecondaryColor())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final @https://developer.android.com/reference/androidx/annotation/ColorInt int` | `[getTextColor](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getTextColor())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final @https://developer.android.com/reference/androidx/annotation/Px int` | `[getTextSize](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getTextSize())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Typeface.html` | `[getTextTypeface](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getTextTypeface())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final @https://developer.android.com/reference/androidx/annotation/ColorInt int` | `[getTitleColor](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getTitleColor())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final @https://developer.android.com/reference/androidx/annotation/Px int` | `[getTitleSize](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getTitleSize())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Typeface.html` | `[getTitleTypeface](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getTitleTypeface())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final void` | `[setBackgroundColor](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setBackgroundColor(kotlin.Int))(@https://developer.android.com/reference/androidx/annotation/ColorInt int backgroundColor)` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final void` | `[setBackgroundDrawable](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setBackgroundDrawable(android.graphics.drawable.Drawable))(https://developer.android.com/reference/android/graphics/drawable/Drawable.html value)` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final void` | `[setBorderColor](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setBorderColor(kotlin.Int))(@https://developer.android.com/reference/androidx/annotation/ColorInt int borderColor)` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final void` | `[setBorderDashGap](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setBorderDashGap(kotlin.Int))(@https://developer.android.com/reference/androidx/annotation/Px int borderDashGap)` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final void` | `[setBorderDashWidth](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setBorderDashWidth(kotlin.Int))(@https://developer.android.com/reference/androidx/annotation/Px int borderDashWidth)` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final void` | `[setBorderRadius](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setBorderRadius(kotlin.Int))(@https://developer.android.com/reference/androidx/annotation/Px int borderRadius)` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final void` | `[setBorderStyle](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setBorderStyle(kotlin.Int))(int borderStyle)` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final void` | `[setBorderWidth](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setBorderWidth(kotlin.Int))(@https://developer.android.com/reference/androidx/annotation/Px int borderWidth)` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final void` | `[setHighlightColor](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setHighlightColor(kotlin.Int))(@https://developer.android.com/reference/androidx/annotation/ColorInt int highlightColor)` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final void` | `[setIconColor](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setIconColor(kotlin.Int))(@https://developer.android.com/reference/androidx/annotation/ColorInt int iconColor)` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final void` | `[setImageColorFilter](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setImageColorFilter(android.graphics.ColorFilter))(https://developer.android.com/reference/android/graphics/ColorFilter.html colorFilter)` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final void` | `[setRangedValuePrimaryColor](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setRangedValuePrimaryColor(kotlin.Int))(@https://developer.android.com/reference/androidx/annotation/ColorInt int rangedValuePrimaryColor)` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final void` | `[setRangedValueRingWidth](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setRangedValueRingWidth(kotlin.Int))(@https://developer.android.com/reference/androidx/annotation/Px int rangedValueRingWidth)` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final void` | `[setRangedValueSecondaryColor](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setRangedValueSecondaryColor(kotlin.Int))(@https://developer.android.com/reference/androidx/annotation/ColorInt int rangedValueSecondaryColor)` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final void` | `[setTextColor](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setTextColor(kotlin.Int))(@https://developer.android.com/reference/androidx/annotation/ColorInt int textColor)` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final void` | `[setTextSize](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setTextSize(kotlin.Int))(@https://developer.android.com/reference/androidx/annotation/Px int textSize)` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final void` | `[setTextTypeface](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setTextTypeface(android.graphics.Typeface))(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Typeface.html textTypeface)` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final void` | `[setTitleColor](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setTitleColor(kotlin.Int))(@https://developer.android.com/reference/androidx/annotation/ColorInt int titleColor)` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final void` | `[setTitleSize](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setTitleSize(kotlin.Int))(@https://developer.android.com/reference/androidx/annotation/Px int titleSize)` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final void` | `[setTitleTypeface](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setTitleTypeface(android.graphics.Typeface))(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Typeface.html titleTypeface)` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |

## Constants

### BORDER_RADIUS_DEFAULT

```
public static final @Px int BORDER_RADIUS_DEFAULT
```

> [!CAUTION]
> **This field is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

Default border radius.

### BORDER_STYLE_DASHED

```
public static final int BORDER_STYLE_DASHED = 2
```

> [!CAUTION]
> **This field is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

Style where the borders are drawn as dashed lines. If this is set as current border style, dash width and dash gap should also be set via .setBorderDashWidth, .setBorderDashGap or XML attributes, or default values will be used.

### BORDER_STYLE_NONE

```
public static final int BORDER_STYLE_NONE = 0
```

> [!CAUTION]
> **This field is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

Style where the borders are not drawn.

### BORDER_STYLE_SOLID

```
public static final int BORDER_STYLE_SOLID = 1
```

> [!CAUTION]
> **This field is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

Style where the borders are drawn without any gap.

## Public constructors

### ComplicationStyle

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)

```
public [ComplicationStyle](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#ComplicationStyle())()
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

### ComplicationStyle

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)

```
public [ComplicationStyle](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#ComplicationStyle(androidx.wear.watchface.complications.rendering.ComplicationStyle))(@NonNull ComplicationStyle style)
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

## Public methods

### getBackgroundColor

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)

```
public final @ColorInt int [getBackgroundColor](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getBackgroundColor())()
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The background color to be used.

### getBackgroundDrawable

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)

```
public final Drawable [getBackgroundDrawable](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getBackgroundDrawable())()
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The background drawable to be used, or null if there's no background drawable.

### getBorderColor

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)

```
public final @ColorInt int [getBorderColor](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getBorderColor())()
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The color to render the complication border with.

### getBorderDashGap

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)

```
public final @Px int [getBorderDashGap](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getBorderDashGap())()
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The dash gap to be used when drawing borders of type .BORDER_STYLE_DASHED.

### getBorderDashWidth

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)

```
public final @Px int [getBorderDashWidth](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getBorderDashWidth())()
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The dash width to be used when drawing borders of type .BORDER_STYLE_DASHED.

### getBorderRadius

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)

```
public final @Px int [getBorderRadius](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getBorderRadius())()
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The border radius to be applied to the corners of the bounds of the complication in active mode. Border radius will be limited to the half of width or height, depending on which one is smaller. If `https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#BORDER_RADIUS_DEFAULT()` is returned, border radius should be reduced to half of the minimum of width or height during the rendering.

### getBorderStyle

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)

```
public final int [getBorderStyle](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getBorderStyle())()
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The style to render the complication border with.

Value is one of the following:

- `0`
- `1`
- `2`

<br />

### getBorderWidth

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)

```
public final @Px int [getBorderWidth](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getBorderWidth())()
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The width to render the complication border with.

### getHighlightColor

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)

```
public final @ColorInt int [getHighlightColor](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getHighlightColor())()
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The highlight color to be used when the complication is highlighted.

### getIconColor

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)

```
public final @ColorInt int [getIconColor](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getIconColor())()
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The color for tinting icons.

### getImageColorFilter

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)

```
public final ColorFilter [getImageColorFilter](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getImageColorFilter())()
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The color filter used in active mode when rendering large images and small images with style `https://developer.android.com/reference/androidx/wear/watchface/complications/data/SmallImageType#PHOTO`.

### getRangedValuePrimaryColor

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)

```
public final @ColorInt int [getRangedValuePrimaryColor](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getRangedValuePrimaryColor())()
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The color to be used when rendering first part of ranged value indicator.

### getRangedValueRingWidth

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)

```
public final @Px int [getRangedValueRingWidth](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getRangedValueRingWidth())()
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The ring width to be used when rendering ranged value indicator.

### getRangedValueSecondaryColor

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)

```
public final @ColorInt int [getRangedValueSecondaryColor](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getRangedValueSecondaryColor())()
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The color to be used when rendering second part of ranged value indicator.

### getTextColor

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)

```
public final @ColorInt int [getTextColor](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getTextColor())()
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The color to render the text with. Text color is used for rendering short text and long text fields.

### getTextSize

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)

```
public final @Px int [getTextSize](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getTextSize())()
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

Returns the text size to be used for short and long text fields.

### getTextTypeface

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)

```
public final @NonNull Typeface [getTextTypeface](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getTextTypeface())()
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The typeface to be used for short and long text.

### getTitleColor

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)

```
public final @ColorInt int [getTitleColor](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getTitleColor())()
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The color to render the title with. Title color is used for rendering short title and long title fields.

### getTitleSize

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)

```
public final @Px int [getTitleSize](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getTitleSize())()
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The text size to be used for short and long title fields.

### getTitleTypeface

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)

```
public final @NonNull Typeface [getTitleTypeface](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#getTitleTypeface())()
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The typeface to be used for short and long title.

### setBackgroundColor

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)

```
public final void [setBackgroundColor](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setBackgroundColor(kotlin.Int))(@ColorInt int backgroundColor)
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The background color to be used.

### setBackgroundDrawable

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)

```
public final void [setBackgroundDrawable](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setBackgroundDrawable(android.graphics.drawable.Drawable))(Drawable value)
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The background drawable to be used, or null if there's no background drawable.

### setBorderColor

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)

```
public final void [setBorderColor](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setBorderColor(kotlin.Int))(@ColorInt int borderColor)
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The color to render the complication border with.

### setBorderDashGap

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)

```
public final void [setBorderDashGap](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setBorderDashGap(kotlin.Int))(@Px int borderDashGap)
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The dash gap to be used when drawing borders of type .BORDER_STYLE_DASHED.

### setBorderDashWidth

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)

```
public final void [setBorderDashWidth](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setBorderDashWidth(kotlin.Int))(@Px int borderDashWidth)
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The dash width to be used when drawing borders of type .BORDER_STYLE_DASHED.

### setBorderRadius

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)

```
public final void [setBorderRadius](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setBorderRadius(kotlin.Int))(@Px int borderRadius)
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The border radius to be applied to the corners of the bounds of the complication in active mode. Border radius will be limited to the half of width or height, depending on which one is smaller. If `https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#BORDER_RADIUS_DEFAULT()` is returned, border radius should be reduced to half of the minimum of width or height during the rendering.

### setBorderStyle

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)

```
public final void [setBorderStyle](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setBorderStyle(kotlin.Int))(int borderStyle)
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The style to render the complication border with.

### setBorderWidth

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)

```
public final void [setBorderWidth](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setBorderWidth(kotlin.Int))(@Px int borderWidth)
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The width to render the complication border with.

### setHighlightColor

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)

```
public final void [setHighlightColor](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setHighlightColor(kotlin.Int))(@ColorInt int highlightColor)
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The highlight color to be used when the complication is highlighted.

### setIconColor

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)

```
public final void [setIconColor](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setIconColor(kotlin.Int))(@ColorInt int iconColor)
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The color for tinting icons.

### setImageColorFilter

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)

```
public final void [setImageColorFilter](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setImageColorFilter(android.graphics.ColorFilter))(ColorFilter colorFilter)
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The color filter used in active mode when rendering large images and small images with style `https://developer.android.com/reference/androidx/wear/watchface/complications/data/SmallImageType#PHOTO`.

### setRangedValuePrimaryColor

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)

```
public final void [setRangedValuePrimaryColor](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setRangedValuePrimaryColor(kotlin.Int))(@ColorInt int rangedValuePrimaryColor)
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The color to be used when rendering first part of ranged value indicator.

### setRangedValueRingWidth

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)

```
public final void [setRangedValueRingWidth](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setRangedValueRingWidth(kotlin.Int))(@Px int rangedValueRingWidth)
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The ring width to be used when rendering ranged value indicator.

### setRangedValueSecondaryColor

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)

```
public final void [setRangedValueSecondaryColor](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setRangedValueSecondaryColor(kotlin.Int))(@ColorInt int rangedValueSecondaryColor)
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The color to be used when rendering second part of ranged value indicator.

### setTextColor

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)

```
public final void [setTextColor](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setTextColor(kotlin.Int))(@ColorInt int textColor)
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The color to render the text with. Text color is used for rendering short text and long text fields.

### setTextSize

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)

```
public final void [setTextSize](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setTextSize(kotlin.Int))(@Px int textSize)
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

Returns the text size to be used for short and long text fields.

### setTextTypeface

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)

```
public final void [setTextTypeface](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setTextTypeface(android.graphics.Typeface))(@NonNull Typeface textTypeface)
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

Sets `https://developer.android.com/reference/android/graphics/Typeface.html` to use when rendering short text and long text fields.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Typeface.html textTypeface` | The `https://developer.android.com/reference/android/graphics/Typeface.html` to render the text with |

### setTitleColor

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)

```
public final void [setTitleColor](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setTitleColor(kotlin.Int))(@ColorInt int titleColor)
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The color to render the title with. Title color is used for rendering short title and long title fields.

### setTitleSize

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)

```
public final void [setTitleSize](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setTitleSize(kotlin.Int))(@Px int titleSize)
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The text size to be used for short and long title fields.

### setTitleTypeface

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)

```
public final void [setTitleTypeface](https://developer.android.com/reference/androidx/wear/watchface/complications/rendering/ComplicationStyle#setTitleTypeface(android.graphics.Typeface))(@NonNull Typeface titleTypeface)
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

Sets the `https://developer.android.com/reference/android/graphics/Typeface.html` to render the title for short and long text with.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Typeface.html titleTypeface` | The `https://developer.android.com/reference/android/graphics/Typeface.html` to render the title with |