編集

次の方法で共有


SKRegionOperation Enum

Definition

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