DimensionBuilders.DpProp.Builder

Added in 1.0.0
Deprecated in 1.2.0

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


Builder for DpProp.

Summary

Public constructors

Public functions

DimensionBuilders.DpProp

Builds an instance with values accumulated in this Builder.

DimensionBuilders.DpProp.Builder
setValue(value: @Dimension(unit = 0) Float)

Sets the value, in dp.

Public constructors

Builder

Added in 1.0.0
Deprecated in 1.2.0
Builder()

Public functions

build

Added in 1.5.0-alpha04
Deprecated in 1.5.0-alpha04
fun build(): DimensionBuilders.DpProp

Builds an instance with values accumulated in this Builder.

setValue

Added in 1.0.0
Deprecated in 1.2.0
fun setValue(value: @Dimension(unit = 0) Float): DimensionBuilders.DpProp.Builder

Sets the value, in dp.