Skip to content

Commit 99483f4

Browse files
committed
Added new properties
1 parent 4d61aa8 commit 99483f4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/renderer/snapshot/typedefs/SnapshotState.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,7 @@
1010
* @property {integer} [width] - The width of the snapshot.
1111
* @property {integer} [height] - The height of the snapshot.
1212
* @property {boolean} [getPixel=false] - Is this a snapshot to get a single pixel, or an area?
13+
* @property {boolean} [isFramebuffer=false] - Is this snapshot grabbing from a frame buffer or a canvas?
14+
* @property {integer} [bufferWidth] - The width of the frame buffer, if a frame buffer grab.
15+
* @property {integer} [bufferHeight] - The height of the frame buffer, if a frame buffer grab.
1316
*/

0 commit comments

Comments
 (0)