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

ImageView.setOpacity() loses effect if the ImageView's scaleX is set to a value other than 1

XMLWordPrintable

      Using JavaFX 2.0 beta b38 + JDK 1.6.0_25 + WinXP SP3

      Below codes shows that, if ImageView's scaleX/Y/Z is set to a value other than 1, setting its
      opacity to a value other than 0 or 1 will have no effect.

      ImageView iv = new ImageView(...);

              iv.setScaleX(0.8); // If you comment out this line, everything will be fine.
              iv.setOpacity(0.1);

            flar Jim Graham
            lianqli Lianqi Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: