Border
class Border
Defines the border for a TV component.
Summary
Public constructors |
|---|
Border(border: BorderStroke, inset: Dp, shape: Shape) |
Public functions |
|
|---|---|
Border |
copy(border: BorderStroke?, inset: Dp?, shape: Shape?) |
open operator Boolean |
|
open Int |
hashCode() |
open String |
toString() |
Public properties |
|
|---|---|
BorderStroke |
configures the width and brush for the border |
Dp |
defines how far (in dp) should the border be from the component it's applied to |
Shape |
defines the |
Public companion properties
Public constructors
Border
Border(
border: BorderStroke,
inset: Dp = 0.dp,
shape: Shape = ShapeTokens.BorderDefaultShape
)
| Parameters | |
|---|---|
border: BorderStroke |
configures the width and brush for the border |
inset: Dp = 0.dp |
defines how far (in dp) should the border be from the component it's applied to |
shape: Shape = ShapeTokens.BorderDefaultShape |
defines the |