ui-geometry
Functions
  • CornerRadius
  • MutableRect
  • Offset
  • Rect
  • RoundRect
  • Size
  • lerp
  • takeOrElse
  • times
  • toRect
  • translate
Classes
  • CornerRadius
  • MutableRect
  • Offset
  • Rect
  • RoundRect
  • Size
Properties
  • boundingRect
  • center
  • isCircle
  • isEllipse
  • isEmpty
  • isFinite
  • isRect
  • isSimple
  • isSpecified
  • isUnspecified
  • maxDimension
  • minDimension
  • safeInnerRect
Jetpack Compose / Compose UI / ui-geometry / Properties / isEmpty
Property

isEmpty

View Markdown Open in ChatGPT Open in Claude

Whether this rounded rectangle encloses a non-zero area.

CodeRabbit

CodeRabbit

AI writes the code. CodeRabbit catches the slop.

Ad Try CodeRabbit for Free
Source set: Common
public val RoundRect.isEmpty: Boolean

Whether this rounded rectangle encloses a non-zero area. Negative areas are considered empty.

Content updated: 2026-10-21

isEllipse ← Previous isFinite Next →

On this page

Reach Android developers Put your product in front of engineers building Android and KMP apps. Sponsor Composables