DpOffset.Companion


Summary

Public properties

DpOffset

Represents an offset whose x and y are unspecified.

Cmn
DpOffset

A DpOffset with 0 DP x and 0 DP y values.

Cmn

Extension properties

TwoWayConverter<DpOffsetAnimationVector2D>

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

Cmn
DpOffset

Visibility threshold for DpOffset.

Cmn

Public properties

Unspecified

val UnspecifiedDpOffset

Represents an offset whose x and y are unspecified. This is usually a replacement for null when a primitive value is desired. Access to x or y on an unspecified offset is not allowed.

Zero

val ZeroDpOffset

A DpOffset with 0 DP x and 0 DP y values.

Extension properties

VectorConverter

val DpOffset.Companion.VectorConverterTwoWayConverter<DpOffsetAnimationVector2D>

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

VisibilityThreshold

val DpOffset.Companion.VisibilityThresholdDpOffset

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