BorderStroke
Function
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 |