Border
Kotlin
|Java
data class Border
kotlin.Any | |
↳ | androidx.ui.foundation.shape.border.Border |
A border of a shape which will be drawn on top of the shape as an inner stroke. This can also be used for the border of a table layout.
Summary
Public constructors |
|
---|---|
A border of a shape which will be drawn on top of the shape as an inner stroke. |
Properties |
|
---|---|
Brush |
the brush to paint the border with. |
Dp |
the width of the border. |
Public constructors
<init>
Border(
brush: Brush,
width: Dp)
A border of a shape which will be drawn on top of the shape as an inner stroke. This can also be used for the border of a table layout.
Parameters | |
---|---|
brush: Brush | the brush to paint the border with. |
width: Dp | the width of the border. Use Dp.Hairline for a hairline border. |