Skip to content

getSize()

Return the display's width and height.

display.getSize()

Returns

return width, height

Value Type Description
width int or float The width, in pixels.
height int or float The height, in pixels.