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 / minDimension
Property

minDimension

View Markdown Open in ChatGPT Open in Claude

The lesser of the magnitudes of the RoundRect.width and the RoundRect.height of this rounded rectangle.

CodeRabbit

CodeRabbit

AI writes the code. CodeRabbit catches the slop.

Ad Try CodeRabbit for Free
Source set: Common
public val RoundRect.minDimension: Float

The lesser of the magnitudes of the RoundRect.width and the RoundRect.height of this rounded rectangle.

Content updated: 2026-10-21

maxDimension ← Previous safeInnerRect Next →

On this page

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