<HTML> <HEAD> <meta charset="UTF-8"> <title>px - 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> / <a href="./px.html">px</a><br/> <br/> <h1>px</h1> <a name="pl.treksoft.kvision.utils$px(kotlin.Int)"></a> <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> </BODY> </HTML>