OperationLayoutCollectionAddRectangleCornerXY Method

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

Definition

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

Parameters

operation  PatternOperationItem
Reference to the operation for which the layout is being prepared.
corner  FVector2
Reference to the corner offset of the shape.
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