@Immutable
data class ControlDimensions(
val visualSize: Dp,
val switchWidth: Dp,
val switchHeight: Dp,
val switchIconSize: Dp,
val radioDotSize: Dp,
val borderWidth: Dp,
val markStrokeWidth: Dp,
)ControlDimensions
(
visualSize
, switchWidth
, switchHeight
, switchIconSize
, radioDotSize
, borderWidth
, markStrokeWidth
)
|
Signature
constructor(
visualSize: Dp,
switchWidth: Dp,
switchHeight: Dp,
switchIconSize: Dp,
radioDotSize: Dp,
borderWidth: Dp,
markStrokeWidth: Dp,
)Parameters visualSize: Dp
checkbox artwork and switch thumb size
switchWidth: Dp
visible switch width
switchHeight: Dp
visible switch height
switchIconSize: Dp
switch thumb icon size
radioDotSize: Dp
selected radio dot diameter
borderWidth: Dp
control outline stroke
markStrokeWidth: Dp
check mark stroke
Returns ControlDimensions |
borderWidth
: Dp
[Get] |
control outline stroke
Signature
val borderWidth: Dp |
markStrokeWidth
: Dp
[Get] |
check mark stroke
Signature
val markStrokeWidth: Dp |
radioDotSize
: Dp
[Get] |
selected radio dot diameter
Signature
val radioDotSize: Dp |
switchHeight
: Dp
[Get] |
visible switch height
Signature
val switchHeight: Dp |
switchIconSize
: Dp
[Get] |
switch thumb icon size
Signature
val switchIconSize: Dp |
switchWidth
: Dp
[Get] |
visible switch width
Signature
val switchWidth: Dp |
visualSize
: Dp
[Get] |
checkbox artwork and switch thumb size
Signature
val visualSize: Dp |