tags:

views:

9

answers:

1

Currently, I can create polygon-based selection box that has only one color on dashed stroke like the following photo.

alt text

In the other hand, all photo editors has selection box like the following photo.

alt text

Is it possible to do this in WPF 4.0 without use double border in same place (two polygon objects place in the same location with different dash offset and stroke color).

A: 

just a suggestion, you can draw a rectangle with solid stroke then draw the dashed rectangle on top :)

nathan_hc