FrameRecorder::snapshot()
Takes a snapshot of the current frame and saves it to the specified filename.
Syntax
Java
.snapshot(filename)
Parameters
| Name | Data Type | Description |
|---|---|---|
| filename | String | the name of the file to save the snapshot to |
Return
void
