aboutsummaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.core/-text-decoration/-init-.html
blob: 5041e5aa05a540d19ce15d1edf03bd887bebee9d (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>TextDecoration.<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">TextDecoration</a>&nbsp;/&nbsp;<a href="./-init-.html">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<a name="pl.treksoft.kvision.core.TextDecoration$&lt;init&gt;(pl.treksoft.kvision.core.TextDecorationLine, pl.treksoft.kvision.core.TextDecorationStyle)"></a>
<code><span class="identifier">TextDecoration</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.TextDecoration$<init>(pl.treksoft.kvision.core.TextDecorationLine, pl.treksoft.kvision.core.TextDecorationStyle)/line">line</span><span class="symbol">:</span>&nbsp;<a href="../-text-decoration-line/index.html"><span class="identifier">TextDecorationLine</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.TextDecoration$<init>(pl.treksoft.kvision.core.TextDecorationLine, pl.treksoft.kvision.core.TextDecorationStyle)/style">style</span><span class="symbol">:</span>&nbsp;<a href="../-text-decoration-style/index.html"><span class="identifier">TextDecorationStyle</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span></code>
<p>Creates CSS text decoration with given line and style.</p>
<h3>Parameters</h3>
<p><a name="line"></a>
<code>line</code> - text decoration line</p>
<p><a name="style"></a>
<code>style</code> - text decoration style</p>
<a name="pl.treksoft.kvision.core.TextDecoration$&lt;init&gt;(pl.treksoft.kvision.core.TextDecorationLine, pl.treksoft.kvision.core.TextDecorationStyle, kotlin.Int)"></a>
<code><span class="identifier">TextDecoration</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.TextDecoration$<init>(pl.treksoft.kvision.core.TextDecorationLine, pl.treksoft.kvision.core.TextDecorationStyle, kotlin.Int)/line">line</span><span class="symbol">:</span>&nbsp;<a href="../-text-decoration-line/index.html"><span class="identifier">TextDecorationLine</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.TextDecoration$<init>(pl.treksoft.kvision.core.TextDecorationLine, pl.treksoft.kvision.core.TextDecorationStyle, kotlin.Int)/style">style</span><span class="symbol">:</span>&nbsp;<a href="../-text-decoration-style/index.html"><span class="identifier">TextDecorationStyle</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.TextDecoration$<init>(pl.treksoft.kvision.core.TextDecorationLine, pl.treksoft.kvision.core.TextDecorationStyle, 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 text decoration with given line, style and color given in hex format.</p>
<h3>Parameters</h3>
<p><a name="line"></a>
<code>line</code> - text decoration line</p>
<p><a name="style"></a>
<code>style</code> - text decoration style</p>
<p><a name="color"></a>
<code>color</code> - color in hex format</p>
<a name="pl.treksoft.kvision.core.TextDecoration$&lt;init&gt;(pl.treksoft.kvision.core.TextDecorationLine, pl.treksoft.kvision.core.TextDecorationStyle, pl.treksoft.kvision.core.Col)"></a>
<code><span class="identifier">TextDecoration</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.TextDecoration$<init>(pl.treksoft.kvision.core.TextDecorationLine, pl.treksoft.kvision.core.TextDecorationStyle, pl.treksoft.kvision.core.Col)/line">line</span><span class="symbol">:</span>&nbsp;<a href="../-text-decoration-line/index.html"><span class="identifier">TextDecorationLine</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.TextDecoration$<init>(pl.treksoft.kvision.core.TextDecorationLine, pl.treksoft.kvision.core.TextDecorationStyle, pl.treksoft.kvision.core.Col)/style">style</span><span class="symbol">:</span>&nbsp;<a href="../-text-decoration-style/index.html"><span class="identifier">TextDecorationStyle</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.TextDecoration$<init>(pl.treksoft.kvision.core.TextDecorationLine, pl.treksoft.kvision.core.TextDecorationStyle, pl.treksoft.kvision.core.Col)/color">color</span><span class="symbol">:</span>&nbsp;<a href="../-col/index.html"><span class="identifier">Col</span></a><span class="symbol">)</span></code>
<p>Creates CSS text decoration with given line, style and color given with named constant.</p>
<h3>Parameters</h3>
<p><a name="line"></a>
<code>line</code> - text decoration line</p>
<p><a name="style"></a>
<code>style</code> - text decoration style</p>
<p><a name="color"></a>
<code>color</code> - color named constant</p>
</BODY>
</HTML>