# LayoutElementBuilders.ArcText.Builder

Artifact: [androidx.wear.tiles:tiles](https://developer.android.com/jetpack/androidx/releases/wear-tiles) [View Source](https://cs.android.com/search?q=file:androidx/wear/tiles/LayoutElementBuilders.java+class:androidx.wear.tiles.LayoutElementBuilders.ArcText.Builder) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.0.0) Deprecated in [1.2.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.2.0)

*** ** * ** ***


```
public final class LayoutElementBuilders.ArcText.Builder implements LayoutElementBuilders.ArcLayoutElement.Builder
```

<br />

*** ** * ** ***

> [!CAUTION]
> **This class is deprecated.**   
> Deprecated in Java

Builder for `https://developer.android.com/reference/androidx/wear/tiles/LayoutElementBuilders.ArcText`.

## Summary

| ### Public constructors |
|---|
| `[Builder](https://developer.android.com/reference/androidx/wear/tiles/LayoutElementBuilders.ArcText.Builder#Builder())()` **This method is deprecated.** Deprecated in Java |

| ### Public methods |
|---|---|
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/wear/tiles/LayoutElementBuilders.ArcText` | `[build](https://developer.android.com/reference/androidx/wear/tiles/LayoutElementBuilders.ArcText.Builder#build())()` **This method is deprecated.** Deprecated in Java |
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/wear/tiles/LayoutElementBuilders.ArcText.Builder` | `[setFontStyle](https://developer.android.com/reference/androidx/wear/tiles/LayoutElementBuilders.ArcText.Builder#setFontStyle(androidx.wear.tiles.LayoutElementBuilders.FontStyle))(@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/wear/tiles/LayoutElementBuilders.FontStyle fontStyle)` **This method is deprecated.** Deprecated in Java |
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/wear/tiles/LayoutElementBuilders.ArcText.Builder` | `[setModifiers](https://developer.android.com/reference/androidx/wear/tiles/LayoutElementBuilders.ArcText.Builder#setModifiers(androidx.wear.tiles.ModifiersBuilders.ArcModifiers))(@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/wear/tiles/ModifiersBuilders.ArcModifiers modifiers)` **This method is deprecated.** Deprecated in Java |
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/wear/tiles/LayoutElementBuilders.ArcText.Builder` | `[setText](https://developer.android.com/reference/androidx/wear/tiles/LayoutElementBuilders.ArcText.Builder#setText(java.lang.String))(@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/java/lang/String.html text)` **This method is deprecated.** Deprecated in Java |
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/wear/tiles/LayoutElementBuilders.ArcText.Builder` | `[setText](https://developer.android.com/reference/androidx/wear/tiles/LayoutElementBuilders.ArcText.Builder#setText(androidx.wear.tiles.TypeBuilders.StringProp))(@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/wear/tiles/TypeBuilders.StringProp text)` **This method is deprecated.** Deprecated in Java |

## Public constructors

### Builder

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

```
public [Builder](https://developer.android.com/reference/androidx/wear/tiles/LayoutElementBuilders.ArcText.Builder#Builder())()
```

> [!CAUTION]
> **This method is deprecated.**   
> Deprecated in Java

## Public methods

### build

```
public @NonNull LayoutElementBuilders.ArcText [build](https://developer.android.com/reference/androidx/wear/tiles/LayoutElementBuilders.ArcText.Builder#build())()
```

> [!CAUTION]
> **This method is deprecated.**   
> Deprecated in Java

Builds an instance with values accumulated in this Builder.

### setFontStyle

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

```
public @NonNull LayoutElementBuilders.ArcText.Builder [setFontStyle](https://developer.android.com/reference/androidx/wear/tiles/LayoutElementBuilders.ArcText.Builder#setFontStyle(androidx.wear.tiles.LayoutElementBuilders.FontStyle))(@NonNull LayoutElementBuilders.FontStyle fontStyle)
```

> [!CAUTION]
> **This method is deprecated.**   
> Deprecated in Java

Sets the style of font to use (size, bold etc). If not specified, defaults to the platform's default body font.

### setModifiers

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

```
public @NonNull LayoutElementBuilders.ArcText.Builder [setModifiers](https://developer.android.com/reference/androidx/wear/tiles/LayoutElementBuilders.ArcText.Builder#setModifiers(androidx.wear.tiles.ModifiersBuilders.ArcModifiers))(@NonNull ModifiersBuilders.ArcModifiers modifiers)
```

> [!CAUTION]
> **This method is deprecated.**   
> Deprecated in Java

Sets `https://developer.android.com/reference/androidx/wear/tiles/ModifiersBuilders.Modifiers` for this element.

### setText

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

```
public @NonNull LayoutElementBuilders.ArcText.Builder [setText](https://developer.android.com/reference/androidx/wear/tiles/LayoutElementBuilders.ArcText.Builder#setText(java.lang.String))(@NonNull String text)
```

> [!CAUTION]
> **This method is deprecated.**   
> Deprecated in Java

Sets the text to render.

### setText

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

```
public @NonNull LayoutElementBuilders.ArcText.Builder [setText](https://developer.android.com/reference/androidx/wear/tiles/LayoutElementBuilders.ArcText.Builder#setText(androidx.wear.tiles.TypeBuilders.StringProp))(@NonNull TypeBuilders.StringProp text)
```

> [!CAUTION]
> **This method is deprecated.**   
> Deprecated in Java

Sets the text to render.