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

Setting opacity of 0 on Arc does not make stroke transparent on Mobile

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • fx1.0
    • javafx
    • WinXP - JavaFX SDK 1.0 - Emulator shipped with SDK

      I am altering the opacity of an Arc from 1.0 to 0.0. The Arc is drawn with a stroke of WHITE color having a width of 3. When I change the opacity, the Arc's stroke remains opaque whereas the fill area is becoming transparent. This is incorrect and not compatible with desktop behavior.

      To reproduce the bug, I have attached a sample test. Do the following -
      1. Save both the source files in the same directory.
      2. Use JavaFX Packager and package the app for mobile platform -

      javafxpackager -src . -appClass ArcTest -profile MOBILE -sign

      Deploy the App on the emulator as follows -
      emulator -Xjam:install=ArcTest.jad

      Now press Key 1 few times to choose appropriate fill color that is different from stroke. Press Key 9 a few times. It will alter the opacity. You will see that only filled area is becoming transparent and not the stroke.

            ailjin Artem Iljin (Inactive)
            pmohan Praveen Mohan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: