ShopToolsUtilDrawRectangle(FPoint, FPoint, Graphics, Pen, Rectangle, Single) Method

Draw a rectangle using the upper left coordinate with length and width.

Definition

Namespace: ShopTools
Assembly: ShopTools (in ShopTools.exe) Version: 25.2429.4649
C#
public static void DrawRectangle(
	FPoint start,
	FPoint end,
	Graphics graphics,
	Pen pen,
	Rectangle workspaceArea,
	float scale
)

Parameters

start  FPoint
Reference to the coordinate at upper left corner.
end  FPoint
Reference to the end coordinate of the rectangle.
graphics  Graphics
Reference to the active graphics device.
pen  Pen
Reference to the active pen.
workspaceArea  Rectangle
The local drawing workspace in which the shape will be drawn.
scale  Single
The scale to apply to the shape.

See Also