DimensionBuilders.SpProp.Builder


class DimensionBuilders.SpProp.Builder


Builder for SpProp

Summary

Public constructors

Creates an instance of Builder.

Public functions

DimensionBuilders.SpProp

Builds an instance from accumulated values.

DimensionBuilders.SpProp.Builder
@RequiresSchemaVersion(major = 1, minor = 0)
setValue(value: @Dimension(unit = 2) Float)

Sets the value, in sp.

Public constructors

Builder

Added in 1.0.0
Builder()

Creates an instance of Builder.

Public functions

build

Added in 1.0.0
fun build(): DimensionBuilders.SpProp

Builds an instance from accumulated values.

setValue

Added in 1.0.0
@RequiresSchemaVersion(major = 1, minor = 0)
fun setValue(value: @Dimension(unit = 2) Float): DimensionBuilders.SpProp.Builder

Sets the value, in sp.