standard.settings.sizeAudio elementButton elementCanvas elementController elementDropDown elementHtml elementImage elementMediaRecorder elementScale elementText elementTextInput elementTooltip elementVideo elementVoiceRecorder elementYoutube element

getElement(id).settings.size(width, height)

Resizes the element to a width of width pixels and a height of height pixels.

Example:

newImage("smiley", "pear.png")
    .settings.size(40, 40)
    .print()

Adds a 40x40px image pear.png onto the screen.