Size.Companion


Summary

Public properties

Size

A size whose width and height are unspecified.

Cmn
Size

An empty size, one with a zero width and a zero height.

Cmn

Extension properties

TwoWayConverter<SizeAnimationVector2D>

A type converter that converts a Size to a AnimationVector2D, and vice versa.

Cmn
Size

Visibility threshold for Size.

Cmn

Public properties

Unspecified

val UnspecifiedSize

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.

Zero

val ZeroSize

An empty size, one with a zero width and a zero height.

Extension properties

VectorConverter

val Size.Companion.VectorConverterTwoWayConverter<SizeAnimationVector2D>

A type converter that converts a Size to a AnimationVector2D, and vice versa.

VisibilityThreshold

val Size.Companion.VisibilityThresholdSize

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.