Skip to content

Commit

Permalink
fix(Polygon): Close Polygon shape on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
kazo0 committed Jan 21, 2021
1 parent eb97cad commit 056d8a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Uno.UI/UI/Xaml/Shapes/Polygon.Android.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ protected override Android.Graphics.Path GetPath(Size availableSize)
{
c.LineTo(new Point(coords[i].X, coords[i].Y), true, false);
}
c.LineTo(new Point(coords[0].X, coords[0].Y), true, false);
});

return streamGeometry.ToPath();
Expand Down

0 comments on commit 056d8a9

Please sign in to comment.