Skip to content

setWidth()

Set the display's width.

display.setWidth(width)

Parameters

display.setWidth(width)
Parameter Type Default Description
width int or float required The new width, in pixels.