ShopToolsUtilFillRectangle(FPoint, FPoint, Graphics, Rectangle, Single, Boolean) Method

Fill 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 FillRectangle(
	FPoint start,
	FPoint end,
	Graphics graphics,
	Rectangle workspaceArea,
	float scale,
	bool selected = false
)

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.
workspaceArea  Rectangle
The local drawing workspace in which the shape will be drawn.
scale  Single
The scale to apply to the shape.
selected  Boolean  (Optional)
Optional value indicating whether the shape is selected in the editor.

See Also