Insets

Used to apply insets.

See also

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The bottom inset’s size (in pixels).

Link copied to clipboard
open override var end: Float

The end inset’s size (in pixels).

Link copied to clipboard
val max: Float

The largest of start, top, end, and bottom.

Link copied to clipboard
open override var start: Float

The start inset’s size (in pixels).

Link copied to clipboard
var top: Float

The top inset’s size (in pixels).

Link copied to clipboard

The sum of top and bottom.

Functions

Link copied to clipboard
fun clear()

Clears the stored values.

Link copied to clipboard
open override fun ensureValuesAtLeast(start: Float, end: Float)
fun ensureValuesAtLeast(start: Float = this.start, top: Float = this.top, end: Float = this.end, bottom: Float = this.bottom)

Ensures that the stored values are no smaller than the provided ones.