It is an image. You can define its size and the image that has to draw.
const image = canvasUI.view.new("image-1", "image") image.set("size", { width: 100, height: 100, }) image.set("src", "/img/logo.svg")
It is the size of the image. It is an object with these properties:
Its default value is:
{ width: 100, height: 100 }
It is the source of the image. If the source is not defined, the value is ""
. Its default value is:
""