BorderStroke


Class to specify the stroke to draw border with.

Summary

Public constructors

BorderStroke(width: Dp, brush: Brush)
Cmn

Public functions

BorderStroke
copy(width: Dp, brush: Brush)
Cmn
open operator Boolean
equals(other: Any?)
Cmn
open Int
Cmn
open String
Cmn

Public properties

Brush

brush to paint the border with

Cmn
Dp

width of the border in Dp.

Cmn

Public constructors

BorderStroke

BorderStroke(width: Dp, brush: Brush)
Parameters
width: Dp

width of the border in Dp. Use Dp.Hairline for one-pixel border.

brush: Brush

brush to paint the border with

Public functions

copy

fun copy(width: Dp = this.width, brush: Brush = this.brush): BorderStroke

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

brush

val brushBrush

brush to paint the border with

width

val widthDp

width of the border in Dp. Use Dp.Hairline for one-pixel border.