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

Add API to ImageView to disable image smoothing.

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: openjfx13
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      A DESCRIPTION OF THE PROBLEM :
      Canvas recently got a setImageSmoothing() method which disabled the smoothing algorithm when the Canvas was scaled. This was useful for those creating drawing programs or games with pixal graphics.

      For similar reasons I would like to request a similar method be added to the ImageView API. Currently the setSmooth() method of ImageView only determines which smoothing algorithm to use without a way of turning it off completely.

      Since there is confusion if there was a setSmooth and setImageSmoothing method perhaps only have setImageSmoothing which takes in an ENUM (e.g Smooth.OFF, Smooth.SLOW, Smooth.FAST)?.


        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kcr Kevin Rushforth
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: