SKRegionOperation Enum

Definition

The logical operations that can be performed when combining two regions.

public enum SKRegionOperation
Inheritance
SKRegionOperation

Fields

Difference 0

Subtract the op region from the first region.

Intersect 1

Intersect the two regions.

Replace 5

Replace the destination region with the op region.

ReverseDifference 4

Subtract the first region from the op region.

Union 2

Union (inclusive-or) the two regions.

XOR 3

Exclusive-or the two regions.

Applies to