HorizontalInsets

Used to apply horizontal insets.

See also

Inheritors

Properties

Link copied to clipboard
abstract val end: Float

The end inset’s size (in pixels).

Link copied to clipboard
open val horizontal: Float

The sum of start and end.

Link copied to clipboard
abstract val start: Float

The start inset’s size (in pixels).

Functions

Link copied to clipboard
abstract fun ensureValuesAtLeast(start: Float = this.start, end: Float = this.end)

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

Link copied to clipboard
open fun getLeft(isLtr: Boolean): Float

Returns the left inset’s size (in pixels).

Link copied to clipboard
open fun getRight(isLtr: Boolean): Float

Returns the right inset’s size (in pixels).