RectangleRounded

data class RectangleRounded(val roundness: Dp) : DeviceShape

Represents a rectangle with rounded corners.

Parameters

roundness

The radius of the corners.

Constructors

Link copied to clipboard
constructor(roundness: Dp)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open fun asShape(): Shape

Converts the DeviceShape to a Shape used in Jetpack Compose.