---
title: "PaddingValues"
description: "Describes a padding to be applied along the edges inside a box. See the [PaddingValues] factories
and [Absolute] for convenient ways to build [PaddingValues]."
type: "interface"
---

<div class='type'>Interface</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>



```kotlin
interface PaddingValues
```


Describes a padding to be applied along the edges inside a box. See the `PaddingValues` factories
and `Absolute` for convenient ways to build `PaddingValues`.


## Functions

```kotlin
fun calculateLeftPadding(layoutDirection: LayoutDirection): Dp
```


The padding to be applied along the left edge inside a box.


```kotlin
fun calculateTopPadding(): Dp
```


The padding to be applied along the top edge inside a box.


```kotlin
fun calculateRightPadding(layoutDirection: LayoutDirection): Dp
```


The padding to be applied along the right edge inside a box.


```kotlin
fun calculateBottomPadding(): Dp
```


The padding to be applied along the bottom edge inside a box.



