Cameron
Cameron

Reputation: 77

C# WPF: Geometric Operations

I know WPF supports some geometric operations, but I'm wondering if it supports others.

I know it supports:

Does it support:

Upvotes: 4

Views: 1218

Answers (1)

Gabe
Gabe

Reputation: 86768

To create a union or intersection of two geometries, use a CombinedGeometry and set the GeometryCombineMode to Union or Intersect.

If you're just trying to find out if two geometries intersect, look at StrokeContainsWithDetail and FillContainsWithDetail.

Upvotes: 5

Related Questions