diff options
Diffstat (limited to 'api/pl.treksoft.kvision.electron/-native-image/index.html')
-rw-r--r-- | api/pl.treksoft.kvision.electron/-native-image/index.html | 182 |
1 files changed, 182 insertions, 0 deletions
diff --git a/api/pl.treksoft.kvision.electron/-native-image/index.html b/api/pl.treksoft.kvision.electron/-native-image/index.html new file mode 100644 index 00000000..0394d34d --- /dev/null +++ b/api/pl.treksoft.kvision.electron/-native-image/index.html @@ -0,0 +1,182 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>NativeImage - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="./index.html">NativeImage</a><br/> +<br/> +<h1>NativeImage</h1> +<code><span class="keyword">open</span> <span class="keyword">external</span> <span class="keyword">class </span><span class="identifier">NativeImage</span></code> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">NativeImage</span><span class="symbol">(</span><span class="symbol">)</span></code></td> +</tr> +</tbody> +</table> +<h3>Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="add-representation.html">addRepresentation</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addRepresentation</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.NativeImage$addRepresentation(pl.treksoft.kvision.electron.AddRepresentationOptions)/options">options</span><span class="symbol">:</span> <a href="../-add-representation-options/index.html"><span class="identifier">AddRepresentationOptions</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="crop.html">crop</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">crop</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.NativeImage$crop(pl.treksoft.kvision.electron.Rectangle)/rect">rect</span><span class="symbol">:</span> <a href="../-rectangle/index.html"><span class="identifier">Rectangle</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">NativeImage</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="get-aspect-ratio.html">getAspectRatio</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getAspectRatio</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="get-bitmap.html">getBitmap</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getBitmap</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.NativeImage$getBitmap(pl.treksoft.kvision.electron.BitmapOptions)/options">options</span><span class="symbol">:</span> <a href="../-bitmap-options/index.html"><span class="identifier">BitmapOptions</span></a><span class="symbol">?</span> <span class="symbol">=</span> definedExternally<span class="symbol">)</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code></td> +</tr> +<tr> +<td> +<p><a href="get-native-handle.html">getNativeHandle</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getNativeHandle</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code></td> +</tr> +<tr> +<td> +<p><a href="get-size.html">getSize</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getSize</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-size/index.html"><span class="identifier">Size</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="is-empty.html">isEmpty</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">isEmpty</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="is-template-image.html">isTemplateImage</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">isTemplateImage</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="resize.html">resize</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">resize</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.NativeImage$resize(pl.treksoft.kvision.electron.ResizeOptions)/options">options</span><span class="symbol">:</span> <a href="../-resize-options/index.html"><span class="identifier">ResizeOptions</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">NativeImage</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="set-template-image.html">setTemplateImage</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setTemplateImage</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.NativeImage$setTemplateImage(kotlin.Boolean)/option">option</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="to-bitmap.html">toBitmap</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">toBitmap</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.NativeImage$toBitmap(pl.treksoft.kvision.electron.ToBitmapOptions)/options">options</span><span class="symbol">:</span> <a href="../-to-bitmap-options/index.html"><span class="identifier">ToBitmapOptions</span></a><span class="symbol">?</span> <span class="symbol">=</span> definedExternally<span class="symbol">)</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code></td> +</tr> +<tr> +<td> +<p><a href="to-data-u-r-l.html">toDataURL</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">toDataURL</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.NativeImage$toDataURL(pl.treksoft.kvision.electron.ToDataURLOptions)/options">options</span><span class="symbol">:</span> <a href="../-to-data-u-r-l-options/index.html"><span class="identifier">ToDataURLOptions</span></a><span class="symbol">?</span> <span class="symbol">=</span> definedExternally<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> +<tr> +<td> +<p><a href="to-j-p-e-g.html">toJPEG</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">toJPEG</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.NativeImage$toJPEG(kotlin.Number)/quality">quality</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code></td> +</tr> +<tr> +<td> +<p><a href="to-p-n-g.html">toPNG</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">toPNG</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.NativeImage$toPNG(pl.treksoft.kvision.electron.ToPNGOptions)/options">options</span><span class="symbol">:</span> <a href="../-to-p-n-g-options/index.html"><span class="identifier">ToPNGOptions</span></a><span class="symbol">?</span> <span class="symbol">=</span> definedExternally<span class="symbol">)</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code></td> +</tr> +</tbody> +</table> +<h3>Companion Object Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="create-empty.html">createEmpty</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="identifier">createEmpty</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">NativeImage</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="create-from-buffer.html">createFromBuffer</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="identifier">createFromBuffer</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.NativeImage.Companion$createFromBuffer(, pl.treksoft.kvision.electron.CreateFromBufferOptions)/buffer">buffer</span><span class="symbol">:</span> <span class="identifier"><ERROR CLASS></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.NativeImage.Companion$createFromBuffer(, pl.treksoft.kvision.electron.CreateFromBufferOptions)/options">options</span><span class="symbol">:</span> <a href="../-create-from-buffer-options/index.html"><span class="identifier">CreateFromBufferOptions</span></a><span class="symbol">?</span> <span class="symbol">=</span> definedExternally<span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">NativeImage</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="create-from-data-u-r-l.html">createFromDataURL</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="identifier">createFromDataURL</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.NativeImage.Companion$createFromDataURL(kotlin.String)/dataURL">dataURL</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">NativeImage</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="create-from-named-image.html">createFromNamedImage</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="identifier">createFromNamedImage</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.NativeImage.Companion$createFromNamedImage(kotlin.String, kotlin.Array((kotlin.Number)))/imageName">imageName</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.NativeImage.Companion$createFromNamedImage(kotlin.String, kotlin.Array((kotlin.Number)))/hslShift">hslShift</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">NativeImage</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="create-from-path.html">createFromPath</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="identifier">createFromPath</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.NativeImage.Companion$createFromPath(kotlin.String)/path">path</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">NativeImage</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> |