OperationLayoutCollectionAddRectangleCenterXY Method

Add a rectangle shape to the operation layout, given the center and X/Y lengths.

Definition

Namespace: ShopTools
Assembly: ShopTools (in ShopTools.exe) Version: 25.2715.4228
C#
public static FVector2 AddRectangleCenterXY(
	PatternOperationItem operation,
	FVector2 center,
	float lengthX,
	float lengthY,
	FVector2 location,
	bool filled
)

Parameters

operation  PatternOperationItem
Reference to the operation for which the layout is being prepared.
center  FVector2
Reference to the center offset of the ellipse.
lengthX  Single
The X-axis length of the shape.
lengthY  Single
The Y-axis length of the shape.
location  FVector2
Reference to the last known traveling tool location.
filled  Boolean
Value indicating whether the shape should be filled.

Return Value

FVector2
Reference to the updated last known tool location, if found. Otherwise, an empty coordinate.

See Also