Size.Companion
-
Cmn
object Size.Companion
Summary
Extension properties |
||
|---|---|---|
TwoWayConverter<Size, AnimationVector2D> |
A type converter that converts a |
Cmn
|
Size |
Visibility threshold for |
Cmn
|
Public properties
Unspecified
val Unspecified: Size
A size whose width and height are unspecified. This is a sentinel value used to initialize a non-null parameter. Access to width or height on an unspecified size is not allowed.
Extension properties
VectorConverter
val Size.Companion.VectorConverter: TwoWayConverter<Size, AnimationVector2D>
A type converter that converts a Size to a AnimationVector2D, and vice versa.
VisibilityThreshold
val Size.Companion.VisibilityThreshold: Size
Visibility threshold for Size. This defines the amount of value change that is considered to be no longer visible. The animation system uses this to signal to some default spring animations to stop when the value is close enough to the target.