DimensionBuilders.DpProp.Builder

Added in 1.0.0
Deprecated in 1.2.0

public final class DimensionBuilders.DpProp.Builder implements DimensionBuilders.ContainerDimension.Builder, DimensionBuilders.ImageDimension.Builder, DimensionBuilders.SpacerDimension.Builder


Builder for DpProp.

Summary

Public constructors

Public methods

@NonNull DimensionBuilders.DpProp

Builds an instance with values accumulated in this Builder.

@NonNull DimensionBuilders.DpProp.Builder
setValue(@Dimension(unit = 0) float value)

Sets the value, in dp.

Public constructors

Builder

Added in 1.0.0
Deprecated in 1.2.0
public Builder()

Public methods

build

Added in 1.5.0-alpha04
Deprecated in 1.5.0-alpha04
public @NonNull DimensionBuilders.DpProp build()

Builds an instance with values accumulated in this Builder.

setValue

Added in 1.0.0
Deprecated in 1.2.0
public @NonNull DimensionBuilders.DpProp.Builder setValue(@Dimension(unit = 0) float value)

Sets the value, in dp.