# ModifiersBuilders.ArcModifiers

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/ModifiersBuilders.java+class:androidx.wear.protolayout.ModifiersBuilders.ArcModifiers) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.0.0)

*** ** * ** ***


```
@RequiresSchemaVersion(major = 1, minor = 0)
public final class ModifiersBuilders.ArcModifiers
```

<br />

*** ** * ** ***

`https://developer.android.com/reference/androidx/wear/protolayout/ModifiersBuilders.Modifiers` that can be used with ArcLayoutElements. These may change the way they are drawn, or change their behaviour.

## Summary

| ### Nested types |
|---|
| `public final class https://developer.android.com/reference/androidx/wear/protolayout/ModifiersBuilders.ArcModifiers.Builder` Builder for `https://developer.android.com/reference/androidx/wear/protolayout/ModifiersBuilders.ArcModifiers` |

| ### Public methods |
|---|---|
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/Nullable.html https://developer.android.com/reference/androidx/wear/protolayout/ModifiersBuilders.Clickable` | `https://developer.android.com/reference/androidx/wear/protolayout/ModifiersBuilders.ArcModifiers#getClickable()()` Gets allows its wrapped element to have actions associated with it, which will be executed when the element is tapped. |
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/Nullable.html https://developer.android.com/reference/androidx/wear/protolayout/TypeBuilders.FloatProp` | `https://developer.android.com/reference/androidx/wear/protolayout/ModifiersBuilders.ArcModifiers#getOpacity()()` Gets the opacity of the element with a value from 0 to 1, where 0 means the element is completely transparent and 1 means the element is completely opaque. |
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/Nullable.html https://developer.android.com/reference/androidx/wear/protolayout/ModifiersBuilders.Semantics` | `https://developer.android.com/reference/androidx/wear/protolayout/ModifiersBuilders.ArcModifiers#getSemantics()()` Gets adds metadata for the modified element, for example, screen reader content descriptions. |
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/wear/protolayout/ModifiersBuilders.ArcModifiers#toString()()` |

## Public methods

### getClickable

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

```
public @Nullable ModifiersBuilders.Clickable getClickable()
```

Gets allows its wrapped element to have actions associated with it, which will be executed when the element is tapped.

### getOpacity

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

```
public @Nullable TypeBuilders.FloatProp getOpacity()
```

Gets the opacity of the element with a value from 0 to 1, where 0 means the element is completely transparent and 1 means the element is completely opaque. Dynamic value is supported.

### getSemantics

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

```
public @Nullable ModifiersBuilders.Semantics getSemantics()
```

Gets adds metadata for the modified element, for example, screen reader content descriptions.

### toString

```
public @NonNull String toString()
```