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.2429.4649
C#
public static FPoint AddRectangleCenterXY(
	PatternOperationItem operation,
	FPoint center,
	float lengthX,
	float lengthY,
	FPoint location,
	bool filled
)

Parameters

operation  PatternOperationItem
Reference to the operation for which the layout is being prepared.
center  FPoint
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  FPoint
Reference to the last known traveling tool location.
filled  Boolean
Value indicating whether the shape should be filled.

Return Value

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

See Also