DimensionBuilders.SpProp

public final class DimensionBuilders.SpProp


A type for font sizes, measured in sp.

Summary

Nested types

DimensionBuilders.SpProp.Builder

Builder for SpProp

Public methods

static @NonNull DimensionBuilders.SpProp.Builder

Returns a new Builder.

@Dimension(unit = "") @NonNull float

Gets the value, in sp.

Public methods

builder

@NonNull
public static DimensionBuilders.SpProp.Builder builder()

Returns a new Builder.

getValue

@Dimension(unit = "")
@NonNull
public @Dimension(unit = "") float getValue()

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