Class UIUtil.DetectRetinaKit
- java.lang.Object
-
- org.pushingpixels.radiance.common.internal.contrib.intellij.UIUtil.DetectRetinaKit
-
- Enclosing class:
- UIUtil
private static final class UIUtil.DetectRetinaKit extends java.lang.Object
Utility class for retina routine
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.WeakHashMap<java.awt.GraphicsDevice,java.lang.Double>
devicesScaleFactorCacheMap
-
Constructor Summary
Constructors Modifier Constructor Description private
DetectRetinaKit()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static double
getScaleFactor()
private static double
getScaleFactor(java.awt.GraphicsDevice device)
private static double
getScaleFactorModern(java.awt.GraphicsDevice device)
This usesGraphicsConfiguration
's default transform as detailed at https://bugs.openjdk.java.net/browse/JDK-8172962 (starting in Java 9).
-
-
-
Method Detail
-
getScaleFactorModern
private static double getScaleFactorModern(java.awt.GraphicsDevice device)
This usesGraphicsConfiguration
's default transform as detailed at https://bugs.openjdk.java.net/browse/JDK-8172962 (starting in Java 9).
-
getScaleFactor
private static double getScaleFactor(java.awt.GraphicsDevice device)
-
getScaleFactor
private static double getScaleFactor()
-
-