🌈 Create new beautiful Compose Gradients with our new wesite ->
Property

RectangleShape

A shape describing the rectangle.

Source set: Common
public val RectangleShape: Shape =
    object : Shape {
        override fun createOutline(size: Size, layoutDirection: LayoutDirection, density: Density) =
            Outline.Rectangle(size.toRect())

        override fun toString(): String = "RectangleShape"
    }

A shape describing the rectangle.