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