Skip to content

Commit

Permalink
Edit
Browse files Browse the repository at this point in the history
  • Loading branch information
bubblobill committed Jan 31, 2025
1 parent a65c211 commit 7513402
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ public ShapeDrawable(ShapeDrawable other) {
cc.getCtrlY2(),
cc.getX2(),
cc.getY2());
case ExtendedGeneralPath egp -> new ExtendedGeneralPath(egp);
case ExtendedGeneralPath egp -> new ExtendedGeneralPath_Double(egp);
case Line2D ln -> new Line2D.Double(ln.getX1(), ln.getY1(), ln.getX2(), ln.getY2());
case Path2D path -> new ExtendedGeneralPath(path);
case Path2D path -> new ExtendedGeneralPath_Double(path);
case Polygon p -> new Polygon(p.xpoints, p.ypoints, p.npoints);
case Polygon2D p -> new Polygon2D(p.xpoints, p.ypoints, p.npoints);
case RectangularShape r ->
Expand Down

0 comments on commit 7513402

Please sign in to comment.