BorderStroke

data class BorderStroke(val width: Int, @ColorLong val color: Long)

Class to specify the stroke to draw border with.

Parameters

width

width of the border in Int.

color

color to paint the border with

Constructors

Link copied to clipboard
constructor(width: Int, @ColorLong color: Long)

Properties

Link copied to clipboard
val color: Long

The 32-bit ARGB border color.

Link copied to clipboard
val width: Int

Border width in dp.