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

Path rendering artifacts after translation

XMLWordPrintable

      Run attached sample and move path to top of scene(with mouse drag).

      See attached screenshots for original path and path after translation.

      This bug appears on paths like this one:

              final Path path = new Path(
                      new MoveTo(50, 150),
                      new CubicCurveTo(0, 0, 100, 0, 50, 150),
                      new ClosePath()
              );
              path.setStrokeLineJoin(StrokeLineJoin.MITER);
              path.setStrokeMiterLimit(10.0);
              path.setStrokeWidth(30);

      If path beginning and ending points are not equal, all works perfect.

            flar Jim Graham
            azvegint Alexander Zvegintsev
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: