EdgeInsets

data class EdgeInsets
kotlin.Any
   ↳ androidx.ui.layout.EdgeInsets

Describes a set of offsets from each of the four sides of a box. For example, it is used to describe padding for the Padding composable.

Summary

Public constructors

<init>(all: Dp)

<init>(left: Dp = 0.dp, top: Dp = 0.dp, right: Dp = 0.dp, bottom: Dp = 0.dp)

Describes a set of offsets from each of the four sides of a box.

Properties

Dp

Dp

Dp

Dp

Public constructors

<init>

EdgeInsets(all: Dp)

<init>

EdgeInsets(
    left: Dp = 0.dp,
    top: Dp = 0.dp,
    right: Dp = 0.dp,
    bottom: Dp = 0.dp)

Describes a set of offsets from each of the four sides of a box. For example, it is used to describe padding for the Padding composable.

Properties

bottom

val bottom: Dp

left

val left: Dp

right

val right: Dp

top

val top: Dp