Google is committed to advancing racial equity for Black communities. See how.

IntBounds

@Immutable data class IntBounds
kotlin.Any
   ↳ androidx.compose.ui.unit.IntBounds

A four dimensional bounds holder defined by integer pixels.

Summary

Public constructors
<init>(left: Int, top: Int, right: Int, bottom: Int)

A four dimensional bounds holder defined by integer pixels.

Extension functions
From androidx.compose.ui.unit
IntOffset

Returns the IntOffset of the center of the IntBounds.

Rect

Convert an IntBounds to a Rect.

IntSize

Convert an IntBounds to an IntSize.

Properties
Int

Int

Int

Int

Extension properties
From androidx.compose.ui.unit
Int

The height of this IntBounds in integer pixels.

Int

The width of this IntBounds in integer pixels.

Public constructors

<init>

IntBounds(
    left: Int,
    top: Int,
    right: Int,
    bottom: Int)

A four dimensional bounds holder defined by integer pixels.

Properties

bottom

val bottom: Int

left

val left: Int
val right: Int

top

val top: Int