CalcNum

An extension of Number which uses CSS's calc() function to represent operations.

Properties

Link copied to clipboard
val Number.dvb: CSSSizeValue<CSSUnitExt.dvb>

Represents 1% of the dynamic viewport's block size.

Link copied to clipboard
val Number.dvh: CSSSizeValue<CSSUnitExt.dvh>

Represents 1% of the dynamic viewport's height.

Link copied to clipboard
val Number.dvi: CSSSizeValue<CSSUnitExt.dvi>

Represents 1% of the dynamic viewport's inline size.

Link copied to clipboard
val Number.dvmax: CSSSizeValue<CSSUnitExt.dvmax>

Represents 1% of the dynamic viewport's largest dimension.

Link copied to clipboard
val Number.dvmin: CSSSizeValue<CSSUnitExt.dvmin>

Represents 1% of the dynamic viewport's smallest dimension.

Link copied to clipboard
val Number.dvw: CSSSizeValue<CSSUnitExt.dvw>

Represents 1% of the dynamic viewport's width.

Link copied to clipboard
val Number.lvb: CSSSizeValue<CSSUnitExt.lvb>

Represents 1% of the large viewport's block size.

Link copied to clipboard
val Number.lvh: CSSSizeValue<CSSUnitExt.lvh>

Represents 1% of the large viewport's inline size.

Link copied to clipboard
val Number.lvi: CSSSizeValue<CSSUnitExt.lvi>

Represents 1% of the large viewport's height.

Link copied to clipboard
val Number.lvmax: CSSSizeValue<CSSUnitExt.lvmax>

Represents 1% of the large viewport's largest dimension.

Link copied to clipboard
val Number.lvmin: CSSSizeValue<CSSUnitExt.lvmin>

Represents 1% of the large viewport's smallest dimension.

Link copied to clipboard
val Number.lvw: CSSSizeValue<CSSUnitExt.lvw>

Represents 1% of the large viewport's width.

Link copied to clipboard
val Number.svb: CSSSizeValue<CSSUnitExt.svb>

Represents 1% of the small viewport's block size.

Link copied to clipboard
val Number.svh: CSSSizeValue<CSSUnitExt.svh>

Represents 1% of the small viewport's height.

Link copied to clipboard
val Number.svi: CSSSizeValue<CSSUnitExt.svi>

Represents 1% of the small viewport's inline size.

Link copied to clipboard
val Number.svmax: CSSSizeValue<CSSUnitExt.svmax>

Represents 1% of the small viewport's largest dimension.

Link copied to clipboard
val Number.svmin: CSSSizeValue<CSSUnitExt.svmin>

Represents 1% of the small viewport's smallest dimension.

Link copied to clipboard
val Number.svw: CSSSizeValue<CSSUnitExt.svw>

Represents 1% of the viewport's block size.

Link copied to clipboard
val Number.vb: CSSSizeValue<CSSUnit.vb>

Represents 1% of the viewport's block size.

Link copied to clipboard
val Number.vi: CSSSizeValue<CSSUnit.vi>

Represents 1% of the viewport's inline size.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toByte(): Byte
Link copied to clipboard
open fun toChar(): Char
Link copied to clipboard
open override fun toDouble(): Double
Link copied to clipboard
open override fun toFloat(): Float
Link copied to clipboard
open override fun toInt(): Int
Link copied to clipboard
open override fun toLong(): Long
Link copied to clipboard
open override fun toShort(): Short
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
operator fun unaryMinus(): CalcScope.CalcNum<T>
Link copied to clipboard
operator fun unaryPlus(): CalcScope.CalcNum<T>