Android 12 Developer Preview is here! Try it out, and give us your feedback!

Rounded

@Immutable class Rounded : Outline
kotlin.Any
   ↳ androidx.compose.ui.graphics.Outline
   ↳ androidx.compose.ui.graphics.Outline.Rounded

Rectangular area with rounded corners.

Summary

Public constructors
<init>(roundRect: RoundRect)

Rectangular area with rounded corners.

Public methods
Boolean
equals(other: Any?)

Int

Properties
Rect

Return the bounds of the outline

RoundRect

Public constructors

<init>

Rounded(roundRect: RoundRect)

Rectangular area with rounded corners.

Public methods

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int

Properties

bounds

val bounds: Rect

Return the bounds of the outline

roundRect

val roundRect: RoundRect