Android
public class RemotePaddingValues(
public val leftPadding: RemoteDp = 0.rdp,
public val topPadding: RemoteDp = 0.rdp,
public val rightPadding: RemoteDp = 0.rdp,
public val bottomPadding: RemoteDp = 0.rdp,
)
Describes a padding to be applied along the edges inside a box. Use the various RemotePaddingValues constructors for convenient ways to build instances.
Secondary Constructors
public constructor(
all: RemoteDp
) : this(leftPadding = all, topPadding = all, rightPadding = all, bottomPadding = all)
Creates a padding of all RemoteDp along all 4 edges.
public constructor(
horizontal: RemoteDp = 0.rdp,
vertical: RemoteDp = 0.rdp,
) : this(
leftPadding = horizontal,
topPadding = vertical,
rightPadding = horizontal,
bottomPadding = vertical,
)
Creates a padding of horizontal RemoteDp along the left and right edges, and of vertical RemoteDp along the top and bottom edges.