Included with the default installer are two images, "chop"
and "rockies"
, that you can expriment with:
To create an image, simply specify the file name of the image like so:
let img = Image("imageName")
You don’t have to specify the extension
let img = Image("chop")!
img.constrainsProportions = true
img.width = canvas.width
canvas.add(img)