screenshot-v1

<script src="./point_src/screenshot-v1"></script>

Add extra methods to the Scene to capture screenshots of the canvas.

stage = (new Stage()).go()
// creates new image
stage.screenshot.toNewImage()

Download a jpg file:

stage = new Stage
stage.screenshot.downloadImage("my-filename.jpg")

Or spawn a link:

stage.screenshot.asDownloadLink()
// Click the newly DOM inserted link
Meta Data
filepath_exists True
path screenshot-v1
filepath screenshot-v1.js
clean_files ()

Method List

comment.html|safe
comment.html|safe
  • method_kind

    method_name

    (
    param_name = param.default_value ,
    )
    from class_name
    comment.html|safe
    comment.html|safe