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

Circle placed inside the ShapeSubtract return incorrect value for contains( )

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • fx2.0
    • fx1.0
    • javafx
    • windows vista home premium

      Aim :- Check whether the contain() & intersects() return the correct value , when circle is place with the substracted portion of the ShapeSubtract .

      I have a ShapeSubtract where i am placing rectangle to a & ellipse to b. I am adding a circle in the substrated place of the shape. Even i have added mouselistener to the ShapeSubtract & the circle, so that i can check for mouseEntered & mouseExited events. When i mouse the mouse pointer on the ShapeSubtract the mouseEntered events are triggered , in the same way when i mouse the mouse on the substrated shape mouse exit event is triggered which are correct. When i click either on the ShapeSubtract or on the circle. I am checking for contains() & intersect() value .

      I am getting wrong value for contains() when i move the circle with in the ShapeSubtract portion.

      I have attached the testcase

            psafrata Pavel Ĺ afrata
            lpremkumajfx Lawrence Premkumar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: