aboutsummaryrefslogtreecommitdiff
path: root/docs/api/pl.treksoft.kvision.core/-border/-init-.html
blob: 8f7c5ec313b97e489568cbd7786a646284ed210e (plain)
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
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Border.<init> - 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.core</a>&nbsp;/&nbsp;<a href="index.html">Border</a>&nbsp;/&nbsp;<a href="./-init-.html">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<a name="pl.treksoft.kvision.core.Border$&lt;init&gt;(kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BORDERSTYLE)"></a>
<code><span class="identifier">Border</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Border$<init>(kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BORDERSTYLE)/width">width</span><span class="symbol">:</span>&nbsp;<a href="../-css-size.html"><span class="identifier">CssSize</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Border$<init>(kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BORDERSTYLE)/style">style</span><span class="symbol">:</span>&nbsp;<a href="../-b-o-r-d-e-r-s-t-y-l-e/index.html"><span class="identifier">BORDERSTYLE</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span></code>
<p>Creates CSS Border with given width and style.</p>
<h3>Parameters</h3>
<p><a name="width"></a>
<code>width</code> - width of the border</p>
<p><a name="style"></a>
<code>style</code> - style of the border</p>
<a name="pl.treksoft.kvision.core.Border$&lt;init&gt;(kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BORDERSTYLE, kotlin.Int)"></a>
<code><span class="identifier">Border</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Border$<init>(kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BORDERSTYLE, kotlin.Int)/width">width</span><span class="symbol">:</span>&nbsp;<a href="../-css-size.html"><span class="identifier">CssSize</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Border$<init>(kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BORDERSTYLE, kotlin.Int)/style">style</span><span class="symbol">:</span>&nbsp;<a href="../-b-o-r-d-e-r-s-t-y-l-e/index.html"><span class="identifier">BORDERSTYLE</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Border$<init>(kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BORDERSTYLE, kotlin.Int)/color">color</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">)</span></code>
<p>Creates CSS Border with given width, style and color given in hex format.</p>
<h3>Parameters</h3>
<p><a name="width"></a>
<code>width</code> - width of the border</p>
<p><a name="style"></a>
<code>style</code> - style of the border</p>
<p><a name="color"></a>
<code>color</code> - color in hex format</p>
<a name="pl.treksoft.kvision.core.Border$&lt;init&gt;(kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BORDERSTYLE, pl.treksoft.kvision.core.COLOR)"></a>
<code><span class="identifier">Border</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Border$<init>(kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BORDERSTYLE, pl.treksoft.kvision.core.COLOR)/width">width</span><span class="symbol">:</span>&nbsp;<a href="../-css-size.html"><span class="identifier">CssSize</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Border$<init>(kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BORDERSTYLE, pl.treksoft.kvision.core.COLOR)/style">style</span><span class="symbol">:</span>&nbsp;<a href="../-b-o-r-d-e-r-s-t-y-l-e/index.html"><span class="identifier">BORDERSTYLE</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Border$<init>(kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.BORDERSTYLE, pl.treksoft.kvision.core.COLOR)/color">color</span><span class="symbol">:</span>&nbsp;<a href="../-c-o-l-o-r/index.html"><span class="identifier">COLOR</span></a><span class="symbol">)</span></code>
<p>Creates CSS Border with given width, style and color given with named constant.</p>
<h3>Parameters</h3>
<p><a name="width"></a>
<code>width</code> - width of the border</p>
<p><a name="style"></a>
<code>style</code> - style of the border</p>
<p><a name="color"></a>
<code>color</code> - color named constant</p>
</BODY>
</HTML>