kvision / pl.treksoft.kvision.utils / kotlin.Number

Extensions for kotlin.Number

ch

val Number.ch: CssSize

Extension property to convert Int to CSS ch units.

cm

val Number.cm: CssSize

Extension property to convert Int to CSS cm units.

em

val Number.em: CssSize

Extension property to convert Int to CSS em units.

in

val Number.in: CssSize

Extension property to convert Int to CSS in units.

mm

val Number.mm: CssSize

Extension property to convert Int to CSS mm units.

pc

val Number.pc: CssSize

Extension property to convert Int to CSS pc units.

perc

val Number.perc: CssSize

Extension property to convert Int to CSS percent units.

rem

val Number.rem: CssSize

Extension property to convert Int to CSS rem units.

vh

val Number.vh: CssSize

Extension property to convert Int to CSS vh units.

vmax

val Number.vmax: CssSize

Extension property to convert Int to CSS vmax units.

vmin

val Number.vmin: CssSize

Extension property to convert Int to CSS vmin units.

vw

val Number.vw: CssSize

Extension property to convert Int to CSS vw units.