DpRect
Class
Common
data class DpRect(
@Stable val left: Dp,
@Stable val top: Dp,
@Stable val right: Dp,
@Stable val bottom: Dp,
)
A four dimensional bounds using Dp
for units
Secondary Constructors
constructor(
origin: DpOffset,
size: DpSize,
) : this(origin.x, origin.y, origin.x + size.width, origin.y + size.height)
Constructs a DpRect
from the top-left origin
and the width and height in size
.