CombineMode 列舉

定義

指定不同裁剪區域的組合方式。Specifies how different clipping regions can be combined.

public enum class CombineMode
public enum CombineMode
type CombineMode = 
Public Enum CombineMode
繼承
CombineMode

欄位

Complement 5

指定現有區域由從新區域中移除的現有區域結果取代。Specifies that the existing region is replaced by the result of the existing region being removed from the new region. 換句話說,現有區域會從新區域排除。Said differently, the existing region is excluded from the new region.

Exclude 4

指定現有區域由從現有區域中移除的新區域結果取代。Specifies that the existing region is replaced by the result of the new region being removed from the existing region. 換句話說,新區域會從現有區域排除。Said differently, the new region is excluded from the existing region.

Intersect 1

藉由取得兩個裁剪區域的交集來組合它們。Two clipping regions are combined by taking their intersection.

Replace 0

一個裁剪區域會由另一個取代。One clipping region is replaced by another.

Union 2

藉由取得兩個裁剪區域的聯集來組合它們。Two clipping regions are combined by taking the union of both.

Xor 3

藉由只取得由兩個裁剪區域的其中一個 (而不是兩個) 所包圍的區域來組合兩個裁剪區域。Two clipping regions are combined by taking only the areas enclosed by one or the other region, but not both.

適用於