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

Add API to ImageView to disable image smoothing.

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • jfx13
    • javafx
    • generic
    • generic

      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)?.


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

              Created:
              Updated:
              Resolved: