DimensionBuilders.SpProp


@RequiresSchemaVersion(major = 1, minor = 0)
class DimensionBuilders.SpProp


A type for font sizes, measured in sp.

Summary

Nested types

Builder for SpProp

Public functions

@Dimension(unit = 2) Float

Gets the value, in sp.

String

Public functions

getValue

Added in 1.0.0
fun getValue(): @Dimension(unit = 2) Float

Gets the value, in sp.

toString

fun toString(): String