standard.size
Audio Button Canvas Controller DropDown Html Image MediaRecorder Scale Text TextInput Tooltip Video Youtube
description
Resizes the element to a width of width pixels and a height of height pixels.
syntax
getX(ELEMENT_NAME).size(width, height)
-
width
: -
height
:
example(s)
@newImage("smiley", "pear.png")
$ .size(40, 40)
@ .print()
- Adds a 40x40px image pear.png onto the screen.