Shape.contains() returns bad values on a stroked Ellipse2D

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P5
    • None
    • Affects Version/s: 5.0
    • Component/s: client-libs
    • None
    • 2d
    • x86
    • windows_xp

      The attached program creates an Ellipse2D, uses BasicStroke.createStrokedShape() to generate an outline path.
      This path is queried using the Shape.contains() method at every point in the window, and each point is colored according to the return value. Ideally the ellipse would be entirely green and the outside region would be entriely magenta; note that points along two lines receive incorrect values.

            Assignee:
            Alexey Ushakov
            Reporter:
            Daniel Rice (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: