summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.electron/-web-contents/capture-page.html
blob: 8352afeff6bc4c9a3ba7dc07214382e38b65e63c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>WebContents.capturePage - 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.electron</a>&nbsp;/&nbsp;<a href="index.html">WebContents</a>&nbsp;/&nbsp;<a href="./capture-page.html">capturePage</a><br/>
<br/>
<h1>capturePage</h1>
(js) <a name="pl.treksoft.kvision.electron.WebContents$capturePage(kotlin.Function1((pl.treksoft.kvision.electron.NativeImage, kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">capturePage</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$capturePage(kotlin.Function1((pl.treksoft.kvision.electron.NativeImage, kotlin.Unit)))/callback">callback</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">image</span><span class="symbol">:</span>&nbsp;<a href="../-native-image/index.html"><span class="identifier">NativeImage</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</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><br/>
<a name="pl.treksoft.kvision.electron.WebContents$capturePage(pl.treksoft.kvision.electron.Rectangle, kotlin.Function1((pl.treksoft.kvision.electron.NativeImage, kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">capturePage</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$capturePage(pl.treksoft.kvision.electron.Rectangle, kotlin.Function1((pl.treksoft.kvision.electron.NativeImage, kotlin.Unit)))/rect">rect</span><span class="symbol">:</span>&nbsp;<a href="../-rectangle/index.html"><span class="identifier">Rectangle</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$capturePage(pl.treksoft.kvision.electron.Rectangle, kotlin.Function1((pl.treksoft.kvision.electron.NativeImage, kotlin.Unit)))/callback">callback</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">image</span><span class="symbol">:</span>&nbsp;<a href="../-native-image/index.html"><span class="identifier">NativeImage</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</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>
</BODY>
</HTML>