示例#1
0
 public static Polygons Union(this Polygons polygons, Polygon other)
 {
     return(polygons.CombinePolygons(new Polygons()
     {
         other
     }, ClipType.ctUnion));
 }
示例#2
0
 public static Polygons Subtract(this Polygons polygons, Polygon other)
 {
     return(polygons.CombinePolygons(new Polygons()
     {
         other
     }, ClipType.ctDifference));
 }
示例#3
0
 public static Polygons Union(this Polygons polygons, Polygons other, PolyFillType fillType = PolyFillType.pftEvenOdd)
 {
     return(polygons.CombinePolygons(other, ClipType.ctUnion, fillType));
 }