# DimensionBuilders.AngularLayoutConstraint

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/DimensionBuilders.java+class:androidx.wear.protolayout.DimensionBuilders.AngularLayoutConstraint) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.0.0)

*** ** * ** ***


```
@RequiresSchemaVersion(major = 1, minor = 200)
public final class DimensionBuilders.AngularLayoutConstraint
```

<br />

*** ** * ** ***

A type for specifying layout constraints when using `https://developer.android.com/reference/androidx/wear/protolayout/DimensionBuilders.DegreesProp` on a data bindable layout element.

## Summary

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

| ### Public methods |
|---|---|
| `int` | `https://developer.android.com/reference/androidx/wear/protolayout/DimensionBuilders.AngularLayoutConstraint#getAngularAlignment()()` Gets angular alignment of the actual content within the space reserved by value. |
| `@https://developer.android.com/reference/androidx/annotation/Dimension(unit = 0) float` | `https://developer.android.com/reference/androidx/wear/protolayout/DimensionBuilders.AngularLayoutConstraint#getValue()()` Gets the fixed value to reserve the space when used on a layout-changing data bind. |

## Public methods

### getAngularAlignment

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

```
public int getAngularAlignment()
```

Gets angular alignment of the actual content within the space reserved by value.

### getValue

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

```
public @Dimension(unit = 0) float getValue()
```

Gets the fixed value to reserve the space when used on a layout-changing data bind. If not set defaults to the static value of the associated `https://developer.android.com/reference/androidx/wear/protolayout/DimensionBuilders.DegreesProp` field.