Although this example used a xref:System.Windows.Shapes.Path element to render the xref:System.Windows.Media.RectangleGeometry, there are many other ways to use xref ...
The following example shows how to create and render a <xref:System.Windows.Media.RectangleGeometry>. The relative position and the dimensions of the rectangle are defined by a ...
I'm trying to draw a circle with flat spots on the top and bottom, and am trying to do it by putting a rectangle opacity mask on top of a circle, but can't seem to get the opacity mask to do anything.