DrawingContext.DrawRectangle Method

Draws a rectangle.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method DrawRectangle(Brush, Pen, Rect) Draws a rectangle with the specified Brush and Pen. The pen and the brush can be null.
Public method DrawRectangle(Brush, Pen, Rect, AnimationClock) Draws a rectangle with the specified Brush and Pen and applies the specified animation clocks.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft