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 Object
Utility class for retina routine
  • Field Details

  • Constructor Details

    • DetectRetinaKit

      private DetectRetinaKit()
  • Method Details

    • getScaleFactorModern

      private static double getScaleFactorModern(GraphicsDevice device)
      This uses GraphicsConfiguration's default transform as detailed at https://bugs.openjdk.java.net/browse/JDK-8172962 (starting in Java 9).
    • getScaleFactor

      private static double getScaleFactor(GraphicsDevice device)
    • getScaleFactor

      private static double getScaleFactor()