IntSize.Companion


Summary

Public properties

IntSize

IntSize with a zero (0) width and height.

Cmn

Extension properties

TwoWayConverter<IntSizeAnimationVector2D>

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

Cmn
IntSize

Visibility threshold for IntSize.

Cmn

Public properties

Zero

val ZeroIntSize

IntSize with a zero (0) width and height.

Extension properties

VectorConverter

val IntSize.Companion.VectorConverterTwoWayConverter<IntSizeAnimationVector2D>

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

Clamps negative values to zero when converting back to IntSize.

VisibilityThreshold

val IntSize.Companion.VisibilityThresholdIntSize

Visibility threshold for IntSize. 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.