Source set: Common
public class BorderStroke(public val width: Dp, public val brush: Brush)
Class to specify the stroke to draw border with.
Parameters
| width | width of the border in Dp. Use Dp.Hairline for one-pixel border. |
| brush | brush to paint the border with |
Functions
equals
Source set: Common
override fun equals(other: Any?): Boolean
hashCode
Source set: Common
override fun hashCode(): Int
toString
Source set: Common
override fun toString(): String
copy
Source set: Common
public fun copy(width: Dp = this.width, brush: Brush = this.brush): BorderStroke