Clip a 4:3 image in WPF with a circle
Posted
by reckoner
on Stack Overflow
See other posts from Stack Overflow
or by reckoner
Published on 2010-05-27T12:49:45Z
Indexed on
2010/05/27
12:51 UTC
Read the original article
Hit count: 175
I am trying to clip a 4:3 image with a circle within a grid control.
I need the circle clip to reveal the image from the middle in a perfect circle. See below.
The circle should dynamically re-size with the image.
I have tried Canvas.Clip and Ellipse+VisualBrush without achieving the correct behavior.
Thanks!
© Stack Overflow or respective owner