ShopToolsUtilDrawRectangle(FVector2, Single, Single, 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.2715.4228
C#
public static void DrawRectangle(
	FVector2 start,
	float length,
	float width,
	Graphics graphics,
	Pen pen,
	Rectangle workspaceArea,
	float scale
)

Parameters

start  FVector2
Reference to the coordinate at upper left corner.
length  Single
The length of the rectangle.
width  Single
The width 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