# DimensionBuilders.OffsetDimension

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.OffsetDimension) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

*** ** * ** ***


```
@RequiresSchemaVersion(major = 1, minor = 500)
public interface DimensionBuilders.OffsetDimension
```

<br />

Known direct subclasses [DimensionBuilders.BoundingBoxRatio](https://developer.android.com/reference/androidx/wear/protolayout/DimensionBuilders.BoundingBoxRatio), [DimensionBuilders.DpProp](https://developer.android.com/reference/androidx/wear/protolayout/DimensionBuilders.DpProp)

|---|---|
| `https://developer.android.com/reference/androidx/wear/protolayout/DimensionBuilders.BoundingBoxRatio` | Provide a position representation proportional to the bounding box width/height. |
| `https://developer.android.com/reference/androidx/wear/protolayout/DimensionBuilders.DpProp` | A type for linear dimensions, measured in dp. |

*** ** * ** ***

Interface defining a dimension that represents an offset relative to the element's position.