locked
Custom UIElement.Clip for Canvas RRS feed

  • Question

  • Im working on app where user can draw on elements with custom shape.

    My first idea was to use canvas with clip property, but only ReactangleGeometry is allowed. Do you have any suggestions how can i achieve desired functionality?

    Saturday, January 18, 2014 5:19 PM

Answers

  • It depends on what functionality you desire.

    You can create custom vector shapes with path elements, or you can use a WritableBitmap (likely with an additional drawing toolkit) for raster graphics rather than vector graphics.

    --Rob

    Monday, January 20, 2014 2:58 PM
    Moderator