PaddingValues.Absolute


Describes an absolute (RTL unaware) padding to be applied along the edges inside a box.

Summary

Public constructors

Absolute(left: Dp, top: Dp, right: Dp, bottom: Dp)
Cmn

Public functions

open Dp

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

Cmn
open Dp

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

Cmn
open Dp

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

Cmn
open Dp

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

Cmn
open operator Boolean
equals(other: Any?)
Cmn
open Int
Cmn
open String
Cmn

Public constructors

Absolute

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

Public functions

calculateBottomPadding

open fun calculateBottomPadding(): Dp

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

calculateLeftPadding

open fun calculateLeftPadding(layoutDirection: LayoutDirection): Dp

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

calculateRightPadding

open fun calculateRightPadding(layoutDirection: LayoutDirection): Dp

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

calculateTopPadding

open fun calculateTopPadding(): Dp

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

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String