DrawingContext.DrawRectangle Method

 

Draws a rectangle.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

NameDescription
System_CAPS_pubmethodDrawRectangle(Brush, Pen, Rect)

Draws a rectangle with the specified Brush and Pen. The pen and the brush can be null.

System_CAPS_pubmethodDrawRectangle(Brush, Pen, Rect, AnimationClock)

Draws a rectangle with the specified Brush and Pen and applies the specified animation clocks.

Return to top
Show: