Function shapeEllipse

  • a bounding box shape for an ellipse

    Useful with [tweakShape].

    Parameters

    • center: readonly [number, number]
    • nodeSize: readonly [number, number]
    • start: readonly [number, number]
    • end: readonly [number, number]

    Returns [number, number]