DpSize
-
Cmn
value class DpSize
A two-dimensional Size using Dp for units
Summary
Public functions |
||
|---|---|---|
inline operator Dp |
Cmn
|
|
inline operator Dp |
Cmn
|
|
DpSize |
Returns a copy of this |
Cmn
|
operator DpSize |
Cmn
|
|
operator DpSize |
Cmn
|
|
operator DpSize |
Subtract a |
Cmn
|
operator DpSize |
Add a |
Cmn
|
operator DpSize |
Cmn
|
|
operator DpSize |
Cmn
|
|
open String |
toString() |
Cmn
|
Public properties |
||
|---|---|---|
Dp |
The vertical aspect of the Size in |
Cmn
|
Dp |
The horizontal aspect of the Size in |
Cmn
|
Extension functions |
||
|---|---|---|
inline DpSize |
DpSize.takeOrElse(block: () -> DpSize)If this |
Cmn
|
Extension properties |
||
|---|---|---|
DpOffset |
Returns the |
Cmn
|
Boolean |
|
Cmn
|
Boolean |
|
Cmn
|
Extension functions
takeOrElse
inline fun DpSize.takeOrElse(block: () -> DpSize): DpSize
If this DpSize isSpecified then this is returned, otherwise block is executed and its result is returned.