Skip to content

Commit 663ee4e

Browse files
Fix Path.PathType assignment
1 parent ed71ec3 commit 663ee4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/ImageSharp.Drawing/Shapes

src/ImageSharp.Drawing/Shapes/Path.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public Path(params ILineSegment[] segments)
6060
public RectangleF Bounds => this.InnerPath.Bounds;
6161

6262
/// <inheritdoc />
63-
public PathTypes PathType => this.IsClosed ? PathTypes.Open : PathTypes.Closed;
63+
public PathTypes PathType => this.IsClosed ? PathTypes.Closed : PathTypes.Open;
6464

6565
/// <summary>
6666
/// Gets the maximum number intersections that a shape can have when testing a line.

0 commit comments

Comments
 (0)