- shapeRect(
center: readonly [number, number],
nodeSize: readonly [number, number],
start: readonly [number, number],
end: readonly [number, number],
): [number, number] Parameters
- center: readonly [number, number]
- nodeSize: readonly [number, number]
- start: readonly [number, number]
- end: readonly [number, number]
Returns [number, number]
a bounding box shape for the full rectangle
Useful with [
tweakShape
].