The system module contains a Display component, which keeps track of information about the device's display. An application could create its own Display component, but it's not clear why this would be useful.
Display Properties
Standard Properties:
class, parent, proto, version.
height integer
This read-only property is the device's display width, as measured in pixels.
width integer
This read-only property is the device's display height, as measured in pixels.