Screen.getNMonitors

Returns the number of monitors which screen consists of. Since 2.2

class Screen
int
getNMonitors
()

Return Value

Type: int

number of monitors which screen consists of

Meta