{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

Outline.Rounded

public final class Outline.Rounded extends Outline

java.lang.Object
   ↳ androidx.compose.ui.graphics.Outline
     ↳ androidx.compose.ui.graphics.Outline.Rounded

Rectangular area with rounded corners.

Summary

Public constructors

Public methods

boolean
equals(Object other)
@NonNull Rect

Return the bounds of the outline

final @NonNull RoundRect
int

Public constructors

Rounded

public Rounded(@NonNull RoundRect roundRect)

Public methods

equals

public boolean equals(Object other)

getBounds

public @NonNull Rect getBounds()

Return the bounds of the outline

getRoundRect

public final @NonNull RoundRect getRoundRect()

hashCode

public int hashCode()