Back

AddCanvas

JS Py
Hello World

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

app.AddCanvas( layout, width=-1, height=-1, options='', pxw=-1, pxh=-1 ) → app object: Image

See CreateImage for full documentation.

Number
Number: pixel
String: comma “,” separated: “fix”, “alias”, “px”, “Button”, “ScaleCenter”, “async”, “FontAwesome”, “Resize”, “TouchThrough”, “Icon”, “wallpaper”, “NoPlay”
app object: Layout