Package-level declarations

Functions

Link copied to clipboard
fun Modifier.dashedBorder(border: BorderStroke, shape: Shape = RectangleShape, on: Dp, off: Dp): Modifier

Modify element to add border with appearance specified with a border and a shape, pad the content by the BorderStroke.width and clip it.

fun Modifier.dashedBorder(width: Dp, brush: Brush, shape: Shape, on: Dp, off: Dp): Modifier

Returns a Modifier that adds border with appearance specified with width, brush and a shape, pads the content by the width and clips it.

fun Modifier.dashedBorder(width: Dp, color: Color, shape: Shape = RectangleShape, on: Dp, off: Dp): Modifier

Returns a Modifier that adds border with appearance specified with width, color and a shape, pads the content by the width and clips it.