diff options
author | Robert Jaros <rjaros@finn.pl> | 2019-10-26 00:17:24 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2019-10-26 00:17:24 +0200 |
commit | fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb (patch) | |
tree | 911c8e9b208b9ba77f00531668d1d99b40fcb8e3 /api1/pl.treksoft.kvision.core/-text-shadow | |
parent | 4f5db77ec2db6c87cb93ceb9f7ea9ab311247f17 (diff) | |
download | kvision-fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb.tar.gz kvision-fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb.tar.bz2 kvision-fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb.zip |
API documentation for KVision 2.0.0
Diffstat (limited to 'api1/pl.treksoft.kvision.core/-text-shadow')
3 files changed, 118 insertions, 0 deletions
diff --git a/api1/pl.treksoft.kvision.core/-text-shadow/-init-.html b/api1/pl.treksoft.kvision.core/-text-shadow/-init-.html new file mode 100644 index 00000000..46ec1e27 --- /dev/null +++ b/api1/pl.treksoft.kvision.core/-text-shadow/-init-.html @@ -0,0 +1,46 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TextShadow.<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">TextShadow</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.core.TextShadow$<init>(kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)))"></a> +<code><span class="identifier">TextShadow</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.TextShadow$<init>(kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)))/hShadow">hShadow</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.TextShadow$<init>(kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)))/vShadow">vShadow</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.TextShadow$<init>(kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)))/blurRadius">blurRadius</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></code> +<p>Creates CSS text shadow with given position and radius.</p> +<h3>Parameters</h3> +<p><a name="hShadow"></a> +<code>hShadow</code> - the position of horizontal shadow</p> +<p><a name="vShadow"></a> +<code>vShadow</code> - the position of vertical shadow</p> +<p><a name="blurRadius"></a> +<code>blurRadius</code> - the blur radius</p> +<a name="pl.treksoft.kvision.core.TextShadow$<init>(kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Int)"></a> +<code><span class="identifier">TextShadow</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.TextShadow$<init>(kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Int)/hShadow">hShadow</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.TextShadow$<init>(kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Int)/vShadow">vShadow</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.TextShadow$<init>(kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Int)/blurRadius">blurRadius</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.TextShadow$<init>(kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Int)/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></code> +<p>Creates CSS text shadow with given position and radius and color given in hex format.</p> +<h3>Parameters</h3> +<p><a name="hShadow"></a> +<code>hShadow</code> - the position of horizontal shadow</p> +<p><a name="vShadow"></a> +<code>vShadow</code> - the position of vertical shadow</p> +<p><a name="blurRadius"></a> +<code>blurRadius</code> - the blur radius</p> +<p><a name="color"></a> +<code>color</code> - color in hex format</p> +<a name="pl.treksoft.kvision.core.TextShadow$<init>(kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.Col)"></a> +<code><span class="identifier">TextShadow</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.TextShadow$<init>(kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.Col)/hShadow">hShadow</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.TextShadow$<init>(kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.Col)/vShadow">vShadow</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.TextShadow$<init>(kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.Col)/blurRadius">blurRadius</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.TextShadow$<init>(kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.Col)/color">color</span><span class="symbol">:</span> <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> +<h3>Parameters</h3> +<p><a name="hShadow"></a> +<code>hShadow</code> - the position of horizontal shadow</p> +<p><a name="vShadow"></a> +<code>vShadow</code> - the position of vertical shadow</p> +<p><a name="blurRadius"></a> +<code>blurRadius</code> - the blur radius</p> +<p><a name="color"></a> +<code>color</code> - color named constant</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.core/-text-shadow/index.html b/api1/pl.treksoft.kvision.core/-text-shadow/index.html new file mode 100644 index 00000000..9e14e793 --- /dev/null +++ b/api1/pl.treksoft.kvision.core/-text-shadow/index.html @@ -0,0 +1,58 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TextShadow - 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">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"><init></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.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)))/hShadow">hShadow</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.TextShadow$<init>(kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)))/vShadow">vShadow</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.TextShadow$<init>(kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)))/blurRadius">blurRadius</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></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.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Int)/hShadow">hShadow</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.TextShadow$<init>(kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Int)/vShadow">vShadow</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.TextShadow$<init>(kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Int)/blurRadius">blurRadius</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.TextShadow$<init>(kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Int)/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></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.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.Col)/hShadow">hShadow</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.TextShadow$<init>(kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.Col)/vShadow">vShadow</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.TextShadow$<init>(kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.Col)/blurRadius">blurRadius</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.TextShadow$<init>(kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), pl.treksoft.kvision.core.Col)/color">color</span><span class="symbol">:</span> <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> +<h3>Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="to-string.html">toString</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="identifier">toString</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code></td> +</tr> +</tbody> +</table> +<h3>Extension Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html">createInstance</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">.</span><span class="identifier">createInstance</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.utils$createInstance(kotlin.Any, kotlin.Array((kotlin.Any)))/args">args</span><span class="symbol">:</span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html#T"><span class="identifier">T</span></a></code> +<p>Helper function for creating JavaScript objects from dynamic constructors.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.core/-text-shadow/to-string.html b/api1/pl.treksoft.kvision.core/-text-shadow/to-string.html new file mode 100644 index 00000000..f5284c15 --- /dev/null +++ b/api1/pl.treksoft.kvision.core/-text-shadow/to-string.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TextShadow.toString - 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">TextShadow</a> / <a href="./to-string.html">toString</a><br/> +<br/> +<h1>toString</h1> +<a name="pl.treksoft.kvision.core.TextShadow$toString()"></a> +<code><span class="keyword">fun </span><span class="identifier">toString</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code> +</BODY> +</HTML> |