tim8w 0 Newbie Poster

I have a custom-shaped form created by setting the Region to an image. I want to be able to highlight the edge of the form when it has focus. To do this I believe I need to get the outline of the form and convert it to a path so I can draw a two-pixel highlight around the edge of the form.

(1) Is this the correct approach?
(2) If so, how do I get the outline of the region so I can call DrawPath?