The second Android 11 Developer Preview is now available, test it out and share your feedback.

Bounds

@Immutable data class Bounds
kotlin.Any
   ↳ androidx.ui.unit.Bounds

A four dimensional bounds using Dp for units

Summary

Public constructors

<init>(left: Dp, top: Dp, right: Dp, bottom: Dp)

A four dimensional bounds using Dp for units

Extension functions

From androidx.ui.unit
Size

Convert a Bounds to a Size.

Properties

Dp

Dp

Dp

Dp

Extension properties

From androidx.ui.unit
Dp

A height of this Bounds in Dp.

Dp

A width of this Bounds in Dp.

Public constructors

<init>

Bounds(
    left: Dp,
    top: Dp,
    right: Dp,
    bottom: Dp)

A four dimensional bounds using Dp for units

Properties

bottom

val bottom: Dp

left

val left: Dp

right

val right: Dp

top

val top: Dp