Function

BorderStroke

Create [BorderStroke] class with width and [Color]

BorderStroke

Common
fun BorderStroke(width: Dp, color: Color) = BorderStroke(width, SolidColor(color))

Create BorderStroke class with width and Color

Parameters

width width of the border in Dp. Use Dp.Hairline for one-pixel border.
color color to paint the border with