Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8091832

Provide a Screen.getScale method for Hi-DPI screens

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 9
    • 8u20, 9
    • javafx

    Description

      For some reason the Screen.getScale() method is private, even though getDpi() is public. There's no comment in the source explaining what's up with that. I want this so I can rescale an image to the right size without wasting excessive memory on non-retina systems.

      Attachments

        Issue Links

          Activity

            People

              flar Jim Graham
              mhearnjfx Mike Hearn (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: