Win2D documentation

CanvasGeometryCombine Enumeration |

Used for specifying how two geometries should be combined to form a third, new geometry.

Syntax

C#

public enum CanvasGeometryCombine

Members

Member name | Value | Description | |
---|---|---|---|

Union | 0 | The result geometry contains the set of all areas from either of the source geometries. | |

Intersect | 1 | The result geometry contains just the areas where the source geometries overlap. | |

Xor | 2 | The result geometry contains the areas from both the source geometries, except for any parts where they overlap. | |

Exclude | 3 | The result geometry contains any area that is in the first source geometry- but excludes any area belonging to the second geometry. |

See Also