Padding

interface Padding

Allows a component to implement padding.

Inheritors

Properties

Link copied to clipboard

The current padding.

Functions

Link copied to clipboard
open fun setPadding(all: Float = 0.0f)

Sets a common padding value for each side.

open fun setPadding(horizontal: Float = 0.0f, vertical: Float = 0.0f)

Updates the horizontal and vertical padding.

open fun setPadding(start: Float = 0.0f, top: Float = 0.0f, end: Float = 0.0f, bottom: Float = 0.0f)

Updates the padding for each side individually.