<HTML> <HEAD> <meta charset="UTF-8"> <title>pl.treksoft.kvision.utils.kotlin.Int - kvision</title> <link rel="stylesheet" href="../../../style.css"> </HEAD> <BODY> <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.utils</a> / <a href="./index.html">kotlin.Int</a><br/> <br/> <h3>Extensions for kotlin.Int</h3> <table> <tbody> <tr> <td> <p><a href="ch.html">ch</a></p> </td> <td> <code><span class="keyword">fun </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">.</span><span class="identifier">ch</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-css-size.html"><span class="identifier">CssSize</span></a></code> <p>Extension function to convert Int to CSS ch units.</p> </td> </tr> <tr> <td> <p><a href="cm.html">cm</a></p> </td> <td> <code><span class="keyword">fun </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">.</span><span class="identifier">cm</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-css-size.html"><span class="identifier">CssSize</span></a></code> <p>Extension function to convert Int to CSS cm units.</p> </td> </tr> <tr> <td> <p><a href="em.html">em</a></p> </td> <td> <code><span class="keyword">fun </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">.</span><span class="identifier">em</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-css-size.html"><span class="identifier">CssSize</span></a></code> <p>Extension function to convert Int to CSS em units.</p> </td> </tr> <tr> <td> <p><a href="in.html">in</a></p> </td> <td> <code><span class="keyword">fun </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">.</span><span class="identifier">in</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-css-size.html"><span class="identifier">CssSize</span></a></code> <p>Extension function to convert Int to CSS in units.</p> </td> </tr> <tr> <td> <p><a href="mm.html">mm</a></p> </td> <td> <code><span class="keyword">fun </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">.</span><span class="identifier">mm</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-css-size.html"><span class="identifier">CssSize</span></a></code> <p>Extension function to convert Int to CSS mm units.</p> </td> </tr> <tr> <td> <p><a href="pc.html">pc</a></p> </td> <td> <code><span class="keyword">fun </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">.</span><span class="identifier">pc</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-css-size.html"><span class="identifier">CssSize</span></a></code> <p>Extension function to convert Int to CSS pc units.</p> </td> </tr> <tr> <td> <p><a href="perc.html">perc</a></p> </td> <td> <code><span class="keyword">fun </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">.</span><span class="identifier">perc</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-css-size.html"><span class="identifier">CssSize</span></a></code> <p>Extension function to convert Int to CSS percent units.</p> </td> </tr> <tr> <td> <p><a href="pt.html">pt</a></p> </td> <td> <code><span class="keyword">fun </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">.</span><span class="identifier">pt</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-css-size.html"><span class="identifier">CssSize</span></a></code> <p>Extension function to convert Int to CSS pt units.</p> </td> </tr> <tr> <td> <p><a href="px.html">px</a></p> </td> <td> <code><span class="keyword">fun </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">.</span><span class="identifier">px</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-css-size.html"><span class="identifier">CssSize</span></a></code> <p>Extension function to convert Int to CSS px units.</p> </td> </tr> <tr> <td> <p><a href="rem.html">rem</a></p> </td> <td> <code><span class="keyword">fun </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">.</span><span class="identifier">rem</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-css-size.html"><span class="identifier">CssSize</span></a></code> <p>Extension function to convert Int to CSS rem units.</p> </td> </tr> <tr> <td> <p><a href="to-hex-string.html">toHexString</a></p> </td> <td> <code><span class="keyword">fun </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">.</span><span class="identifier">toHexString</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code> <p>Extension function to convert Int to hex format.</p> </td> </tr> <tr> <td> <p><a href="vh.html">vh</a></p> </td> <td> <code><span class="keyword">fun </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">.</span><span class="identifier">vh</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-css-size.html"><span class="identifier">CssSize</span></a></code> <p>Extension function to convert Int to CSS vh units.</p> </td> </tr> <tr> <td> <p><a href="vmax.html">vmax</a></p> </td> <td> <code><span class="keyword">fun </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">.</span><span class="identifier">vmax</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-css-size.html"><span class="identifier">CssSize</span></a></code> <p>Extension function to convert Int to CSS vmax units.</p> </td> </tr> <tr> <td> <p><a href="vmin.html">vmin</a></p> </td> <td> <code><span class="keyword">fun </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">.</span><span class="identifier">vmin</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-css-size.html"><span class="identifier">CssSize</span></a></code> <p>Extension function to convert Int to CSS vmin units.</p> </td> </tr> <tr> <td> <p><a href="vw.html">vw</a></p> </td> <td> <code><span class="keyword">fun </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">.</span><span class="identifier">vw</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-css-size.html"><span class="identifier">CssSize</span></a></code> <p>Extension function to convert Int to CSS vw units.</p> </td> </tr> </tbody> </table> </BODY> </HTML>