Class

DpRect

A four dimensional bounds using Dp for units

Source set: Common
public data class DpRect(
    @Stable public val left: Dp,
    @Stable public val top: Dp,
    @Stable public val right: Dp,
    @Stable public val bottom: Dp,
)

A four dimensional bounds using Dp for units

Members

Companion

Source set: Common
public companion object

Constructs a DpRect from the top-left origin and the width and height in size.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: