locked
ellipse clip

    Question

  • I am building an app that needs a ellipse clip. The scenario is to show only the circle clipped region of an image as the user scrolls the clipped image moves along and shows the clipped region. Using a Ellipse.Fill will not give the desired effect.

    Any thoughts?

    Why were path and ellipse geometries removed?

    Saturday, October 18, 2014 2:56 PM

Answers

  • Several options, depending on the specific situation. The easiest is to overlay a bitmap with a transparent window for the unclipped area. Another option would be to render to a bitmap and set the clipped pixels' alpha to zero.
    Saturday, October 18, 2014 10:11 PM
    Owner