# ArcPaddingValues

Artifact: [androidx.wear.compose:compose-foundation](https://developer.android.com/jetpack/androidx/releases/wear-compose) [View Source](https://cs.android.com/search?q=file:androidx/wear/compose/foundation/CurvedPadding.kt+class:androidx.wear.compose.foundation.ArcPaddingValues) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-compose#1.0.0)


```
interface ArcPaddingValues
```

<br />

*** ** * ** ***

Apply additional space along each edge of the content in `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp`. See the `https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/ArcPaddingValues` factories for convenient ways to build `https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/ArcPaddingValues`.

## Summary

| ### Public functions |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/ArcPaddingValues#calculateAfterPadding(androidx.compose.ui.unit.LayoutDirection,androidx.wear.compose.foundation.CurvedDirection.Angular)( layoutDirection: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/LayoutDirection, angularDirection: https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/CurvedDirection.Angular )` Padding added after the component, if it was drawn clockwise. |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/ArcPaddingValues#calculateBeforePadding(androidx.compose.ui.unit.LayoutDirection,androidx.wear.compose.foundation.CurvedDirection.Angular)( layoutDirection: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/LayoutDirection, angularDirection: https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/CurvedDirection.Angular )` Padding added before the component, if it was drawn clockwise. |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/ArcPaddingValues#calculateInnerPadding(androidx.wear.compose.foundation.CurvedDirection.Radial)(radialDirection: https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/CurvedDirection.Radial)` Padding in the inwards direction towards the center of the `https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/CurvedLayout.composable#CurvedLayout(androidx.compose.ui.Modifier,kotlin.Float,androidx.wear.compose.foundation.AnchorType,androidx.wear.compose.foundation.CurvedAlignment.Radial,androidx.wear.compose.foundation.CurvedDirection.Angular,kotlin.Function1)` |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/ArcPaddingValues#calculateOuterPadding(androidx.wear.compose.foundation.CurvedDirection.Radial)(radialDirection: https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/CurvedDirection.Radial)` Padding in the outward direction from the center of the `https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/CurvedLayout.composable#CurvedLayout(androidx.compose.ui.Modifier,kotlin.Float,androidx.wear.compose.foundation.AnchorType,androidx.wear.compose.foundation.CurvedAlignment.Radial,androidx.wear.compose.foundation.CurvedDirection.Angular,kotlin.Function1)` |

## Public functions

### calculateAfterPadding

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

```
fun calculateAfterPadding(
    layoutDirection: LayoutDirection,
    angularDirection: CurvedDirection.Angular
): Dp
```

Padding added after the component, if it was drawn clockwise. This is the edge of the component with the "biggest" angle.

### calculateBeforePadding

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

```
fun calculateBeforePadding(
    layoutDirection: LayoutDirection,
    angularDirection: CurvedDirection.Angular
): Dp
```

Padding added before the component, if it was drawn clockwise. This is the edge of the component with the "smallest" angle.

### calculateInnerPadding

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

```
fun calculateInnerPadding(radialDirection: CurvedDirection.Radial): Dp
```

Padding in the inwards direction towards the center of the `https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/CurvedLayout.composable#CurvedLayout(androidx.compose.ui.Modifier,kotlin.Float,androidx.wear.compose.foundation.AnchorType,androidx.wear.compose.foundation.CurvedAlignment.Radial,androidx.wear.compose.foundation.CurvedDirection.Angular,kotlin.Function1)`

### calculateOuterPadding

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

```
fun calculateOuterPadding(radialDirection: CurvedDirection.Radial): Dp
```

Padding in the outward direction from the center of the `https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/CurvedLayout.composable#CurvedLayout(androidx.compose.ui.Modifier,kotlin.Float,androidx.wear.compose.foundation.AnchorType,androidx.wear.compose.foundation.CurvedAlignment.Radial,androidx.wear.compose.foundation.CurvedDirection.Angular,kotlin.Function1)`