Back

CreateCanvas

Hello World

Creates and adds a blank white Image with the Auto-Update feature turned off.

app.CreateCanvas( file, width, height, options, pxw, pxh ) → app object: Image

See CreateImage for full documentation.

Number
Number: pixel
String: file path or content:// uri
String: comma “,” separated: fix, “alias”, px, Button, “ScaleCenter”, async, “FontAwesome”, “Resize”, “TouchThrough”, Icon, “wallpaper”, NoPlay