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

Outline.Rectangle

public final class Outline.Rectangle extends Outline

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

Rectangular area.

Summary

Public constructors

Public methods

boolean
equals(Object other)
@NonNull Rect

Return the bounds of the outline

final @NonNull Rect
int

Public constructors

Rectangle

public Rectangle(@NonNull Rect rect)

Public methods

equals

public boolean equals(Object other)

getBounds

public @NonNull Rect getBounds()

Return the bounds of the outline

getRect

public final @NonNull Rect getRect()

hashCode

public int hashCode()