Screenshot
| Kind | class |
| Package | backend |
| Full name | backend.Screenshot |
| Source | source/backend/Screenshot.hx |
| Compiled when | #if !(sys) |
Public fields
| Name | Type | Static | Default | Notes |
|---|---|---|---|---|
slash | String | yes | "/" | #if !(sys) |
Public methods
new (constructor)
function new(x:Int = -1, y:Int = -1, w:Int = -1, h:Int = -1)
Only compiled when #if !(sys).
| Parameter | Type | Default |
|---|---|---|
x (optional) | Int | -1 |
y (optional) | Int | -1 |
w (optional) | Int | -1 |
h (optional) | Int | -1 |
setRegion
function setRegion(x:Int, y:Int, w:Int, h:Int)
Only compiled when #if !(sys).
| Parameter | Type | Default |
|---|---|---|
x | Int | — |
y | Int | — |
w | Int | — |
h | Int | — |
save
function save(path:String = "", name:String = ''):Bool
Only compiled when #if !(sys).
| Parameter | Type | Default |
|---|---|---|
path (optional) | String | "" |
name (optional) | String | '' |