DimensionBuilders.DpProp

Added in 1.0.0
Deprecated in 1.2.0

class DimensionBuilders.DpProp : DimensionBuilders.ContainerDimension, DimensionBuilders.ImageDimension, DimensionBuilders.SpacerDimension


A type for linear dimensions, measured in dp.

Summary

Public functions

@Dimension(unit = 0) Float

Gets the value, in dp.

Public functions

getValue

Added in 1.0.0
Deprecated in 1.2.0
fun getValue(): @Dimension(unit = 0) Float

Gets the value, in dp. Intended for testing purposes only.