DimensionBuilders.SpProp

Added in 1.0.0
Deprecated in 1.2.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.

Public functions

getValue

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

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