Back

AddCanvas

Hello World

Creates and adds a blank white Image with the AutoUpdate feature turned off to a Layout.

app.AddCanvas( layout, 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
app object: Layout