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

Mobile: ImageView.smooth does not have any effect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • fx1.0
    • javafx
    • JavaFX 1.0.1, Emulator, 6u10 b33

      Changing the value of ImageView.smooth does not have any effect on emulator. This works well on desktop.

      To reproduce, run the below code on emulator. Click on the image to change the value of 'smooth'. If it doesn't cause any difference, bug is reproduced.

      import javafx.scene.*;
      import javafx.stage.*;
      import javafx.scene.image.*;
      import javafx.scene.input.*;

      var smooth: Boolean = false;
      var imageView: ImageView = ImageView {
          x: 10
          y: 10
          fitWidth: 140
          fitHeight: 120
          image: Image {
              url: "http://cldc.russia.sun.com/monty/html/JFXGraphics/res/DUKE_ALPHA.PNG"
          }
          smooth: bind smooth
          onMouseClicked: function(e: MouseEvent) {
              smooth = not smooth;
          }
      };
      Stage {
          scene: Scene {
              content: imageView
          }
      }

            dkuzmin Dmitry Kuzmin (Inactive)
            gramachasunw Girish Ramachandran (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: