SKRegionOperation Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The logical operations that can be performed when combining two regions.
public enum SKRegionOperation
- Inheritance
-
SKRegionOperation
Fields
Name | Value | Description |
---|---|---|
Difference | 0 | Subtract the op region from the first region. |
Intersect | 1 | Intersect the two regions. |
Union | 2 | Union (inclusive-or) the two regions. |
XOR | 3 | Exclusive-or the two regions. |
ReverseDifference | 4 | Subtract the first region from the op region. |
Replace | 5 | Replace the destination region with the op region. |
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.