class RemotePaddingValues


Describes a padding to be applied along the edges inside a box. Use the various RemotePaddingValues constructors for convenient ways to build instances.

Summary

Public constructors

Creates a padding of all RemoteDp along all 4 edges.

RemotePaddingValues(horizontal: RemoteDp, vertical: RemoteDp)

Creates a padding of horizontal RemoteDp along the left and right edges, and of vertical RemoteDp along the top and bottom edges.

RemotePaddingValues(
    leftPadding: RemoteDp,
    topPadding: RemoteDp,
    rightPadding: RemoteDp,
    bottomPadding: RemoteDp
)

Public functions

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

Public constructors

RemotePaddingValues

Added in 1.0.0-alpha07
RemotePaddingValues(all: RemoteDp)

Creates a padding of all RemoteDp along all 4 edges.

RemotePaddingValues

Added in 1.0.0-alpha07
RemotePaddingValues(horizontal: RemoteDp = 0.rdp, vertical: RemoteDp = 0.rdp)

Creates a padding of horizontal RemoteDp along the left and right edges, and of vertical RemoteDp along the top and bottom edges.

RemotePaddingValues

Added in 1.0.0-alpha07
RemotePaddingValues(
    leftPadding: RemoteDp = 0.rdp,
    topPadding: RemoteDp = 0.rdp,
    rightPadding: RemoteDp = 0.rdp,
    bottomPadding: RemoteDp = 0.rdp
)

Public functions

equals

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

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

bottomPadding

Added in 1.0.0-alpha07
val bottomPaddingRemoteDp

leftPadding

Added in 1.0.0-alpha07
val leftPaddingRemoteDp

rightPadding

Added in 1.0.0-alpha07
val rightPaddingRemoteDp

topPadding

Added in 1.0.0-alpha07
val topPaddingRemoteDp