Dp.Companion
-
Cmn
object Dp.Companion
Summary
Public properties |
||
|---|---|---|
Dp |
A dimension used to represent a hairline drawing element. |
Cmn
|
Dp |
Infinite dp dimension. |
Cmn
|
Dp |
Constant that means unspecified Dp. |
Cmn
|
Extension properties |
||
|---|---|---|
TwoWayConverter<Dp, AnimationVector1D> |
A type converter that converts a |
Cmn
|
Dp |
Visibility threshold for |
Cmn
|
Public properties
Hairline
val Hairline: Dp
A dimension used to represent a hairline drawing element. Hairline elements take up no space, but will draw a single pixel, independent of the device's resolution and density.
Unspecified
val Unspecified: Dp
Constant that means unspecified Dp. Instead of comparing a Dp value to this constant, consider using isSpecified and isUnspecified instead.
Extension properties
VectorConverter
val Dp.Companion.VectorConverter: TwoWayConverter<Dp, AnimationVector1D>
A type converter that converts a Dp to a AnimationVector1D, and vice versa.
VisibilityThreshold
val Dp.Companion.VisibilityThreshold: Dp
Visibility threshold for Dp. 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.