-
CornerRadius
Constructs a Radius with the given x and y parameters for the size of the radius along the x and y axis respectively.
-
lerp
Linearly interpolate between two radii.
-
MutableRect
Construct a rectangle from its left and top edges as well as its width and height.
-
Offset
Constructs an Offset from the given relative x and y offsets
-
Rect
Construct a rectangle from its left and top edges as well as its width and height.
-
RoundRect
Construct a rounded rectangle from its left, top, right, and bottom edges, and the same radii along its horizontal axis and its vertical axis.
-
Size
Constructs a Size from the given width and height
-
takeOrElse
If this Size isSpecified then this is returned, otherwise block is executed and its result is returned.
-
times
Returns a Size with size's [Size.
- toRect
-
translate
Returns a new RoundRect translated by the given offset.
Compose UI Geometry
Jetpack Compose API reference for ui-geometry.