Padding

data class Padding(    val left: Int = 0,     val top: Int = 0,     val right: Int = 0,     val bottom: Int = 0)

HUD padding.

Constructors

Link copied to clipboard
fun Padding(all: Int = 0)

Creates padding with values equal on all sides.

Link copied to clipboard
fun Padding(horizontal: Int = 0, vertical: Int = 0)

Creates padding with separate values for horizontal and vertical padding.

Link copied to clipboard
fun Padding(    left: Int = 0,     top: Int = 0,     right: Int = 0,     bottom: Int = 0)

Properties

Link copied to clipboard
val bottom: Int = 0

Bottom padding.

Link copied to clipboard
val left: Int = 0

Left padding.

Link copied to clipboard
val right: Int = 0

Right padding.

Link copied to clipboard
val top: Int = 0

Top padding.