OperationLayoutCollectionAddRectangleCenterXY Method
Add a rectangle shape to the operation layout, given the center and
X/Y lengths.
Namespace: ShopToolsAssembly: ShopTools (in ShopTools.exe) Version: 25.2429.4649
public static FPoint AddRectangleCenterXY(
PatternOperationItem operation,
FPoint center,
float lengthX,
float lengthY,
FPoint location,
bool filled
)
Public Shared Function AddRectangleCenterXY (
operation As PatternOperationItem,
center As FPoint,
lengthX As Single,
lengthY As Single,
location As FPoint,
filled As Boolean
) As FPoint
No code example is currently available or this language may not be supported.
- 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.
FPoint
Reference to the updated last known tool location, if found.
Otherwise, an empty coordinate.