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

ui-geometry

Jetpack Compose API reference for ui-geometry.

CodeRabbit

CodeRabbit

AI writes the code. CodeRabbit catches the slop.

AdTry CodeRabbit for Free
Robomori

Robomori

Run Android emulators and devices outside Android Studio.

AdTry Robomori
Dependency Functions Classes Properties

Dependency

Add the following dependency to your build.gradle file:

implementation("androidx.compose.ui:ui-geometry:1.13.0-rc01")

Content updated: 2026-11-04

Functions Next →
9:41

AGENTS.md vs skills Inbox

Alex Styl 9:30 AMto me

AGENTS.md contains your preferences for how you want your agent to behave.

Think of it as the prompt your agent reads every time it starts.

Mine tells the agent to always read the project's README and CONTRIBUTING files, so it has the context of the repo I'm working on.

Skills on the other hand are repeatable flows you can reuse over and over again.

Architecture is a great candidate for a skill. My compose-architecture skill describes how my app's screens should be built.

One Android lesson, every Wednesday

Building Android apps?

What Alex learned building Android apps for 14 years, so you don't have to. Reads in under a minute.

Join 3,500+ Android developers. Unsubscribe any time.

You're subscribed

The next lesson lands in on Wednesday.