Companion

object Companion

Extensions

Link copied to clipboard
inline fun <D : Dimension> Dimension.Companion.dim(): Int

Finds Dimension.dim of given type D.

Link copied to clipboard
expect fun Dimension.Companion.of(dim: Int): Dimension

Finds or creates Dimension with Dimension.dim equal to dim.

actual fun Dimension.Companion.of(dim: Int): Dimension
actual fun Dimension.Companion.of(dim: Int): Dimension
actual fun Dimension.Companion.of(dim: Int): Dimension
Link copied to clipboard
expect fun <D : Dimension> Dimension.Companion.resolve(type: KClass<D>): D
actual fun <D : Dimension> Dimension.Companion.resolve(type: KClass<D>): D
actual fun <D : Dimension> Dimension.Companion.resolve(type: KClass<D>): D
actual fun <D : Dimension> Dimension.Companion.resolve(type: KClass<D>): D

Sources

Link copied to clipboard