File tree Expand file tree Collapse file tree 1 file changed +2
-23
lines changed
src/ImageSharp.Drawing/Shapes Expand file tree Collapse file tree 1 file changed +2
-23
lines changed Original file line number Diff line number Diff line change 11// Copyright (c) Six Labors.
22// Licensed under the Six Labors Split License.
33
4- using System . Runtime . CompilerServices ;
5- using System . Runtime . InteropServices . ComTypes ;
6- using SixLabors . ImageSharp . Drawing . Shapes . PolygonClipper ;
7- using SixLabors . PolygonClipper ;
8-
94namespace SixLabors . ImageSharp . Drawing ;
105
116/// <summary>
@@ -16,26 +11,10 @@ public interface ISimplePath
1611 /// <summary>
1712 /// Gets a value indicating whether this instance is a closed path.
1813 /// </summary>
19- bool IsClosed { get ; }
14+ public bool IsClosed { get ; }
2015
2116 /// <summary>
2217 /// Gets the points that make this up as a simple linear path.
2318 /// </summary>
24- ReadOnlyMemory < PointF > Points { get ; }
25-
26- /// <summary>
27- /// Converts to <see cref="SixLabors.PolygonClipper.Polygon"/>
28- /// </summary>
29- /// <returns>The converted polygon.</returns>
30- internal SixLabors . PolygonClipper . Contour ToContour ( )
31- {
32- Contour contour = new ( ) ;
33-
34- foreach ( PointF point in this . Points . Span )
35- {
36- contour . AddVertex ( new Vertex ( point . X , point . Y ) ) ;
37- }
38-
39- return contour ;
40- }
19+ public ReadOnlyMemory < PointF > Points { get ; }
4120}
You can’t perform that action at this time.
0 commit comments