aboutsummaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.core/-text-shadow/index.html
blob: 97c108cba81c9b6879920850db59cb58daf2adbd (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
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>TextShadow - 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">TextShadow</a><br/>
<br/>
<h1>TextShadow</h1>
<code><span class="keyword">class </span><span class="identifier">TextShadow</span></code>
<p>Type-safe definition of CSS text shadow.</p>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="-init-.html">&lt;init&gt;</a></p>
</td>
<td>
<code><span class="identifier">TextShadow</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.TextShadow$<init>(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)))/hShadow">hShadow</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.TextShadow$<init>(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)))/vShadow">vShadow</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.TextShadow$<init>(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)))/blurRadius">blurRadius</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></code>
<p>Creates CSS text shadow with given position and radius.</p>
<code><span class="identifier">TextShadow</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.TextShadow$<init>(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.Int)/hShadow">hShadow</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.TextShadow$<init>(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.Int)/vShadow">vShadow</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.TextShadow$<init>(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.Int)/blurRadius">blurRadius</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.TextShadow$<init>(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.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 shadow with given position and radius and color given in hex format.</p>
<code><span class="identifier">TextShadow</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.TextShadow$<init>(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.Col)/hShadow">hShadow</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.TextShadow$<init>(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.Col)/vShadow">vShadow</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.TextShadow$<init>(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.Col)/blurRadius">blurRadius</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.TextShadow$<init>(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.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 shadow with given position and radius and color given with named constant.</p>
</td>
</tr>
</tbody>
</table>
</BODY>
</HTML>