Skip to content

setHeight()

Set the object's height.

Parameters

Once an object item has been created, you can use the following function:

item.setHeight(height)
Parameter Type Default Description
height int or float required The new height, in pixels.