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

Extensions for kotlin.Number

(js)

ch

Extension property to convert Int to CSS ch units.

val Number.ch: CssSize
(js)

cm

Extension property to convert Int to CSS cm units.

val Number.cm: CssSize
(js)

em

Extension property to convert Int to CSS em units.

val Number.em: CssSize
(js)

in

Extension property to convert Int to CSS in units.

val Number.in: CssSize
(js)

mm

Extension property to convert Int to CSS mm units.

val Number.mm: CssSize
(js)

pc

Extension property to convert Int to CSS pc units.

val Number.pc: CssSize
(js)

perc

Extension property to convert Int to CSS percent units.

val Number.perc: CssSize
(js)

rem

Extension property to convert Int to CSS rem units.

val Number.rem: CssSize
(js)

vh

Extension property to convert Int to CSS vh units.

val Number.vh: CssSize
(js)

vmax

Extension property to convert Int to CSS vmax units.

val Number.vmax: CssSize
(js)

vmin

Extension property to convert Int to CSS vmin units.

val Number.vmin: CssSize
(js)

vw

Extension property to convert Int to CSS vw units.

val Number.vw: CssSize