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

Incorrect handling of intersection of shapes with stroke dash arrays.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • fx2.1
    • fx2.1
    • javafx
    • win7, 2.1b14

    Description

       shape.setClip(Path.intersect(shape, shape1)) and shape.clip(shape1) should return the same result.
       
      Take a look at attached file and run it, please. Or just take a look at the picture first.
      Pictures in the first HBox are onle examples. Picture in the second HBox is result of .setClip(Path.intersect(shape1, shape2)) and the picture in the third HBox is result of just .setClip(shape2). Why are they look so different?
      The result of just clipping without intersection looks much more logical.

      Attachments

        Issue Links

          Activity

            People

              lnerad Ľubomír Nerád
              dkozorez Dmitry Kozorez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: