@Immutable
data class ButtonDimensions(
val visualHeight: Dp,
val iconSize: Dp,
val horizontalPadding: Dp,
val iconSpacing: Dp,
val borderWidth: Dp,
val tileWidth: Dp,
val tileHeight: Dp,
val shelfWidth: Dp,
val shelfHeight: Dp,
)ButtonDimensions
(
visualHeight
, iconSize
, horizontalPadding
, iconSpacing
, borderWidth
, tileWidth
, tileHeight
, shelfWidth
, shelfHeight
)
|
Signature
constructor(
visualHeight: Dp,
iconSize: Dp,
horizontalPadding: Dp,
iconSpacing: Dp,
borderWidth: Dp,
tileWidth: Dp,
tileHeight: Dp,
shelfWidth: Dp,
shelfHeight: Dp,
)Parameters visualHeight: Dp
visible push-button height
iconSize: Dp
icon artwork size
horizontalPadding: Dp
push-button horizontal content padding
iconSpacing: Dp
distance between icon and label
borderWidth: Dp
outlined button stroke
tileWidth: Dp
text-tile width
tileHeight: Dp
text-tile height
shelfWidth: Dp
selectable shelf width
shelfHeight: Dp
selectable shelf height
Returns ButtonDimensions |
borderWidth
: Dp
[Get] |
outlined button stroke
Signature
val borderWidth: Dp |
horizontalPadding
: Dp
[Get] |
push-button horizontal content padding
Signature
val horizontalPadding: Dp |
iconSize
: Dp
[Get] |
icon artwork size
Signature
val iconSize: Dp |
iconSpacing
: Dp
[Get] |
distance between icon and label
Signature
val iconSpacing: Dp |
shelfHeight
: Dp
[Get] |
selectable shelf height
Signature
val shelfHeight: Dp |
shelfWidth
: Dp
[Get] |
selectable shelf width
Signature
val shelfWidth: Dp |
tileHeight
: Dp
[Get] |
text-tile height
Signature
val tileHeight: Dp |
tileWidth
: Dp
[Get] |
text-tile width
Signature
val tileWidth: Dp |
visualHeight
: Dp
[Get] |
visible push-button height
Signature
val visualHeight: Dp |