// Copyright (c) Six Labors. // Licensed under the Six Labors Split License. namespace SixLabors.PolygonClipper { /// /// Specifies the type of boolean operation to perform on polygons. /// public enum BooleanOperation { /// /// The intersection operation, which results in the area common to both polygons. /// Intersection = 0, /// /// The union operation, which results in the combined area of both polygons. /// Union = 1, /// /// The difference operation, which subtracts the clipping polygon from the subject polygon. /// Difference = 2, /// /// The exclusive OR (XOR) operation, which results in the area covered by exactly one polygon, /// excluding the overlapping areas. /// Xor = 3 } }