aboutsummaryrefslogtreecommitdiff
path: root/docs/api/pl.treksoft.kvision.html/-image/image.html
blob: 4f07afd422b7c3cbb7d3f55ece5487b4c2d7ea6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Image.image - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.html</a>&nbsp;/&nbsp;<a href="index.html">Image</a>&nbsp;/&nbsp;<a href="./image.html">image</a><br/>
<br/>
<h1>image</h1>
<a name="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))"></a>
<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">image</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/src">src</span><span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/alt">alt</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/responsive">responsive</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/shape">shape</span><span class="symbol">:</span>&nbsp;<a href="../-i-m-a-g-e-s-h-a-p-e/index.html"><span class="identifier">IMAGESHAPE</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/centered">centered</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/classes">classes</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">&gt;</span>&nbsp;<span class="symbol">=</span>&nbsp;setOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.IMAGESHAPE, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<a href="index.html"><span class="identifier">Image</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Image</span></a></code>
<p>DSL builder extension function.</p>
<p>It takes the same parameters as the constructor of the built component.</p>
</BODY>
</HTML>