MonitorG.getRefreshRate

Gets the refresh rate of the monitor, if available.

The value is in milli-Hertz, so a refresh rate of 60Hz is returned as 60000.

class MonitorG
int
getRefreshRate
()

Return Value

Type: int

the refresh rate in milli-Hertz, or 0

Meta

Since

3.22