Method DrawRectangle NamespaceAlternet.Drawing AssemblyAlternet.UI.Common.dll DrawRectangle(Pen, RectD) Draws a rectangle specified by a RectD structure. void DrawRectangle(Pen pen, RectD rectangle) Parameters pen Pen A Pen that determines the color, width, and style of the rectangle. rectangle RectD A RectD structure that represents the rectangle to draw.