public final class DetectRetinaKit
extends java.lang.Object
Constructor and Description |
---|
DetectRetinaKit() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isOracleMacRetinaDevice(java.awt.GraphicsDevice device)
The best way to understand whether we are on a retina device is [NSScreen backingScaleFactor]
But we should not invoke it from any thread.
|
public static boolean isOracleMacRetinaDevice(java.awt.GraphicsDevice device)