Click or drag to resize

DrawingViewDrawTemporaryEventArgsDrawRectangle Method

Draw the rectangle.

Namespace:  RootPro.RootProCAD.UI
Assembly:  RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: 12.0.0.0 (12.0.0.0)
Syntax
public abstract void DrawRectangle(
	Point point,
	int width,
	int height,
	Color color,
	float penWidth,
	DashStyle dashStyle,
	float[] dashPattern
)

Parameters

point
Type: System.DrawingPoint
The Point representing the client coordinates of the upper-left corner of the rectangle
width
Type: SystemInt32
The Width of Rectangle
height
Type: SystemInt32
The Height of Rectangle
color
Type: System.DrawingColor
the color of polyline
penWidth
Type: SystemSingle
the width of polyline
dashStyle
Type: System.Drawing.Drawing2DDashStyle
the line type of polyline
dashPattern
Type: SystemSingle
an array of custom dashes and spaces
See Also