1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Image.<init> - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Image</a> / <a href="./-init-.html"><init></a><br/>
<br/>
<h1><init></h1>
(js) <a name="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))"></a>
<code><span class="identifier">Image</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/src">src</span><span class="symbol">:</span> <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$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/alt">alt</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/responsive">responsive</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/shape">shape</span><span class="symbol">:</span> <a href="../-image-shape/index.html"><span class="identifier">ImageShape</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/centered">centered</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/classes">classes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span> <span class="symbol">=</span> setOf()<span class="symbol">)</span></code>
<h3>Parameters</h3>
<p><a name="src"></a>
<code>src</code> - image URL</p>
<p><a name="alt"></a>
<code>alt</code> - alternative text</p>
<p><a name="responsive"></a>
<code>responsive</code> - determines if the image is rendered as responsive</p>
<p><a name="shape"></a>
<code>shape</code> - image shape</p>
<p><a name="centered"></a>
<code>centered</code> - determines if the image is rendered centered</p>
<p><a name="classes"></a>
<code>classes</code> - a set of CSS class names</p>
<p><strong>Constructor</strong><br/>
</p>
</BODY>
</HTML>
|