Error!
Success!

Setting Pens on Shapes in WPF

0
kicks

Setting Pens on Shapes in WPF  (Unpublished)

Sometimes you need to draw various shapes, drawings and objects using the same elaborate pen. Problem is that some WPF elements like GeometryDrawing (represented by star in this picture) take Pen object for their pen settings and classes derived from Shape (like Rectangle, Ellipse, etc.) expose all the pen settings directly in the form of StrokeXxx properties.


Kicked By:
Drop Kicked By: