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.2715.4228
public static FVector2 AddRectangleCenterXY(
PatternOperationItem operation,
FVector2 center,
float lengthX,
float lengthY,
FVector2 location,
bool filled
)
Public Shared Function AddRectangleCenterXY (
operation As PatternOperationItem,
center As FVector2,
lengthX As Single,
lengthY As Single,
location As FVector2,
filled As Boolean
) As FVector2
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 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.
FVector2
Reference to the updated last known tool location, if found.
Otherwise, an empty coordinate.