-
boundingRect
The bounding box of this rounded rectangle (the rectangle with no rounded corners).
-
center
The offset to the point halfway between the left and right and the top and bottom edges of this rectangle.
-
isCircle
Whether this rounded rectangle would draw as a circle.
-
isEllipse
Whether this rounded rectangle has no side with a straight section.
-
isEmpty
Whether this rounded rectangle encloses a non-zero area.
-
isFinite
Whether all coordinates of this rounded rectangle are finite.
-
isRect
Whether this rounded rectangle is a simple rectangle with zero corner radii.
-
isSimple
Returns `true` if the rounded rectangle have the same radii in both the horizontal and vertical direction for all corners.
-
isSpecified
`false` when this is [Size.
-
isUnspecified
`true` when this is [Size.
- maxDimension
-
minDimension
The lesser of the magnitudes of the [RoundRect.
-
safeInnerRect
The non-rounded rectangle that is constrained by the smaller of the two diagonals, with each diagonal traveling through the middle of the curve corners.
Compose UI Geometry
Jetpack Compose API reference for ui-geometry.