See the samples for details. First use the FromStream method to load the image into a WriteableBitmap, then the method DrawRectangle or FillRectangle.
Even this projects start page has some snippets which show how to use it.
Even this projects start page has some snippets which show how to use it.
- rene