InsetsWrapper

A wrapper for Insets has a visibility state.

You can use toInsets to convert it to Insets.

Parameters

left

the left insets (px).

top

the top insets (px).

right

the right insets (px).

bottom

the bottom insets (px).

isVisible

the visibility state.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val left: Int
Link copied to clipboard
val right: Int
Link copied to clipboard
val top: Int

Functions

Link copied to clipboard
infix fun and(other: InsetsWrapper): InsetsWrapper

Returns the component-wise minimum of two Insets.

Link copied to clipboard
operator fun compareTo(other: InsetsWrapper): Int

Compare two Insets.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
operator fun minus(other: InsetsWrapper): InsetsWrapper

Subtract two Insets.

Link copied to clipboard
infix fun or(other: InsetsWrapper): InsetsWrapper

Returns the component-wise maximum of two Insets.

Link copied to clipboard
operator fun plus(other: InsetsWrapper): InsetsWrapper

Add two Insets.

Link copied to clipboard
fun toInsets(): @NonNull Insets

Convert to Insets.

Link copied to clipboard
open override fun toString(): String