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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Background.<init> - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.core</a> / <a href="index.html">Background</a> / <a href="./-init-.html"><init></a><br/>
<br/>
<h1><init></h1>
<a name="pl.treksoft.kvision.core.Background$<init>(kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)"></a>
<code><span class="identifier">Background</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Background$<init>(kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)/image">image</span><span class="symbol">:</span> <a href="../-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Background$<init>(kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)/positionX">positionX</span><span class="symbol">:</span> <a href="../-css-size.html"><span class="identifier">CssSize</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Background$<init>(kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)/positionY">positionY</span><span class="symbol">:</span> <a href="../-css-size.html"><span class="identifier">CssSize</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Background$<init>(kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)/sizeX">sizeX</span><span class="symbol">:</span> <a href="../-css-size.html"><span class="identifier">CssSize</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Background$<init>(kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)/sizeY">sizeY</span><span class="symbol">:</span> <a href="../-css-size.html"><span class="identifier">CssSize</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Background$<init>(kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)/size">size</span><span class="symbol">:</span> <a href="../-bg-size/index.html"><span class="identifier">BgSize</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Background$<init>(kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)/repeat">repeat</span><span class="symbol">:</span> <a href="../-bg-repeat/index.html"><span class="identifier">BgRepeat</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Background$<init>(kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)/origin">origin</span><span class="symbol">:</span> <a href="../-bg-origin/index.html"><span class="identifier">BgOrigin</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Background$<init>(kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)/clip">clip</span><span class="symbol">:</span> <a href="../-bg-clip/index.html"><span class="identifier">BgClip</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Background$<init>(kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)/attachment">attachment</span><span class="symbol">:</span> <a href="../-bg-attach/index.html"><span class="identifier">BgAttach</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span></code>
<p>Creates CSS Background with given parameters.</p>
<h3>Parameters</h3>
<p><a name="image"></a>
<code>image</code> - background image</p>
<p><a name="positionX"></a>
<code>positionX</code> - horizontal position of the background image</p>
<p><a name="positionY"></a>
<code>positionY</code> - vertical position of the background image</p>
<p><a name="sizeX"></a>
<code>sizeX</code> - horizontal size of the background image</p>
<p><a name="sizeY"></a>
<code>sizeY</code> - vertical size of the background image</p>
<p><a name="size"></a>
<code>size</code> - resize of the background image</p>
<p><a name="repeat"></a>
<code>repeat</code> - repeat option of the background image</p>
<p><a name="origin"></a>
<code>origin</code> - origin option of the background image</p>
<p><a name="clip"></a>
<code>clip</code> - clipping option of the background image</p>
<p><a name="attachment"></a>
<code>attachment</code> - attachment option of the background image</p>
<a name="pl.treksoft.kvision.core.Background$<init>(kotlin.Int, kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)"></a>
<code><span class="identifier">Background</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Background$<init>(kotlin.Int, kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)/color">color</span><span class="symbol">:</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" id="pl.treksoft.kvision.core.Background$<init>(kotlin.Int, kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)/image">image</span><span class="symbol">:</span> <a href="../-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Background$<init>(kotlin.Int, kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)/positionX">positionX</span><span class="symbol">:</span> <a href="../-css-size.html"><span class="identifier">CssSize</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Background$<init>(kotlin.Int, kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)/positionY">positionY</span><span class="symbol">:</span> <a href="../-css-size.html"><span class="identifier">CssSize</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Background$<init>(kotlin.Int, kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)/sizeX">sizeX</span><span class="symbol">:</span> <a href="../-css-size.html"><span class="identifier">CssSize</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Background$<init>(kotlin.Int, kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)/sizeY">sizeY</span><span class="symbol">:</span> <a href="../-css-size.html"><span class="identifier">CssSize</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Background$<init>(kotlin.Int, kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)/size">size</span><span class="symbol">:</span> <a href="../-bg-size/index.html"><span class="identifier">BgSize</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Background$<init>(kotlin.Int, kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)/repeat">repeat</span><span class="symbol">:</span> <a href="../-bg-repeat/index.html"><span class="identifier">BgRepeat</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Background$<init>(kotlin.Int, kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)/origin">origin</span><span class="symbol">:</span> <a href="../-bg-origin/index.html"><span class="identifier">BgOrigin</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Background$<init>(kotlin.Int, kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)/clip">clip</span><span class="symbol">:</span> <a href="../-bg-clip/index.html"><span class="identifier">BgClip</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Background$<init>(kotlin.Int, kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)/attachment">attachment</span><span class="symbol">:</span> <a href="../-bg-attach/index.html"><span class="identifier">BgAttach</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span></code>
<p>Creates CSS Background with given parameters.</p>
<h3>Parameters</h3>
<p><a name="color"></a>
<code>color</code> - color of the background in hex format</p>
<p><a name="image"></a>
<code>image</code> - background image</p>
<p><a name="positionX"></a>
<code>positionX</code> - horizontal position of the background image</p>
<p><a name="positionY"></a>
<code>positionY</code> - vertical position of the background image</p>
<p><a name="sizeX"></a>
<code>sizeX</code> - horizontal size of the background image</p>
<p><a name="sizeY"></a>
<code>sizeY</code> - vertical size of the background image</p>
<p><a name="size"></a>
<code>size</code> - resize of the background image</p>
<p><a name="repeat"></a>
<code>repeat</code> - repeat option of the background image</p>
<p><a name="origin"></a>
<code>origin</code> - origin option of the background image</p>
<p><a name="clip"></a>
<code>clip</code> - clipping option of the background image</p>
<p><a name="attachment"></a>
<code>attachment</code> - attachment option of the background image</p>
<a name="pl.treksoft.kvision.core.Background$<init>(pl.treksoft.kvision.core.Col, kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)"></a>
<code><span class="identifier">Background</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Background$<init>(pl.treksoft.kvision.core.Col, kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)/color">color</span><span class="symbol">:</span> <a href="../-col/index.html"><span class="identifier">Col</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Background$<init>(pl.treksoft.kvision.core.Col, kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)/image">image</span><span class="symbol">:</span> <a href="../-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Background$<init>(pl.treksoft.kvision.core.Col, kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)/positionX">positionX</span><span class="symbol">:</span> <a href="../-css-size.html"><span class="identifier">CssSize</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Background$<init>(pl.treksoft.kvision.core.Col, kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)/positionY">positionY</span><span class="symbol">:</span> <a href="../-css-size.html"><span class="identifier">CssSize</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Background$<init>(pl.treksoft.kvision.core.Col, kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)/sizeX">sizeX</span><span class="symbol">:</span> <a href="../-css-size.html"><span class="identifier">CssSize</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Background$<init>(pl.treksoft.kvision.core.Col, kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)/sizeY">sizeY</span><span class="symbol">:</span> <a href="../-css-size.html"><span class="identifier">CssSize</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Background$<init>(pl.treksoft.kvision.core.Col, kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)/size">size</span><span class="symbol">:</span> <a href="../-bg-size/index.html"><span class="identifier">BgSize</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Background$<init>(pl.treksoft.kvision.core.Col, kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)/repeat">repeat</span><span class="symbol">:</span> <a href="../-bg-repeat/index.html"><span class="identifier">BgRepeat</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Background$<init>(pl.treksoft.kvision.core.Col, kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)/origin">origin</span><span class="symbol">:</span> <a href="../-bg-origin/index.html"><span class="identifier">BgOrigin</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Background$<init>(pl.treksoft.kvision.core.Col, kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)/clip">clip</span><span class="symbol">:</span> <a href="../-bg-clip/index.html"><span class="identifier">BgClip</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Background$<init>(pl.treksoft.kvision.core.Col, kotlin.String, kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BgSize, pl.treksoft.kvision.core.BgRepeat, pl.treksoft.kvision.core.BgOrigin, pl.treksoft.kvision.core.BgClip, pl.treksoft.kvision.core.BgAttach)/attachment">attachment</span><span class="symbol">:</span> <a href="../-bg-attach/index.html"><span class="identifier">BgAttach</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span></code>
<p>Creates CSS Background with given parameters.</p>
<h3>Parameters</h3>
<p><a name="color"></a>
<code>color</code> - color of the background with named constant</p>
<p><a name="image"></a>
<code>image</code> - background image</p>
<p><a name="positionX"></a>
<code>positionX</code> - horizontal position of the background image</p>
<p><a name="positionY"></a>
<code>positionY</code> - vertical position of the background image</p>
<p><a name="sizeX"></a>
<code>sizeX</code> - horizontal size of the background image</p>
<p><a name="sizeY"></a>
<code>sizeY</code> - vertical size of the background image</p>
<p><a name="size"></a>
<code>size</code> - resize of the background image</p>
<p><a name="repeat"></a>
<code>repeat</code> - repeat option of the background image</p>
<p><a name="origin"></a>
<code>origin</code> - origin option of the background image</p>
<p><a name="clip"></a>
<code>clip</code> - clipping option of the background image</p>
<p><a name="attachment"></a>
<code>attachment</code> - attachment option of the background image</p>
</BODY>
</HTML>
|