Rect.Companion


Summary

Public properties

Rect

A rectangle with left, top, right, and bottom edges all at zero.

Cmn

Extension properties

TwoWayConverter<RectAnimationVector4D>

A type converter that converts a Rect to a AnimationVector4D, and vice versa.

Cmn
Rect

Visibility threshold for Rect.

Cmn

Public properties

Zero

val ZeroRect

A rectangle with left, top, right, and bottom edges all at zero.

Extension properties

VectorConverter

val Rect.Companion.VectorConverterTwoWayConverter<RectAnimationVector4D>

A type converter that converts a Rect to a AnimationVector4D, and vice versa.

VisibilityThreshold

val Rect.Companion.VisibilityThresholdRect

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