RoundedCornerShape

class RoundedCornerShape(val size: Float) : Shape

The full bounds with each corner rounded to size, or to half the shorter side where that is less, so a radius too large for the size is a pill, as androidx's RoundedCornerShape is.

Throws

Constructors

Link copied to clipboard
constructor(size: Float)

Properties

Link copied to clipboard
val size: Float

the corner radius; 0f is RectangleShape.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun outline(width: Int, height: Int): Shape

The outline this shape takes at width x height, with the decorated box's top-left corner as the origin.

Link copied to clipboard
open override fun toString(): String