Four Corners
data class FourCorners(val topLeft: Pair<Dp, Dp> = Pair(first = 0.dp,
second = 0.dp), val topRight: Pair<Dp, Dp> = Pair(first = 0.dp,
second = 0.dp), val bottomRight: Pair<Dp, Dp> = Pair(first = 0.dp,
second = 0.dp), val bottomLeft: Pair<Dp, Dp> = Pair(first = 0.dp,
second = 0.dp))
Defines the x and y radii used by the corners of a rectangle.
Defaults to sharp, right angle corners.
Parameters
top Left
The (x, y) radii pair for the top left corner.
top Right
The (x, y) radii pair for the top right corner.
bottom Right
The (x, y) radii pair for the bottom right corner.
bottom Left
The (x, y) radii pair for the bottom left corner.