Margins

interface Margins

Allows a component to implement margins.

Inheritors

Properties

Link copied to clipboard

The current margins.

Functions

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

Sets a common size for each margin.

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

Updates each margin individually.

Link copied to clipboard

Sets the values of these Margins to those of the provided Dimensions.