connector Anchor
World-space attachment point for an arrow connector binding to this shape.
Snaps to the center of the side that faces target, instead of letting the connector slide along the outline:
Rectangle / square / fallback: midpoint of whichever of the four AABB edges faces target.
Triangle: midpoint of whichever of the three edges (right slant, bottom, left slant) the ray from the centroid toward target crosses.
Circle: tangent point on the circle in target's direction. Circles have no sides, so a smooth analytic point is the natural anchor.
Rotation-aware. The shape's rotation is undone on target, the anchor is computed in the unrotated frame, then rotated back to world. Scale is automatically handled because bounds reflects the post-scale points.
Used by propagateBindings and finalizeArrowBindings so a bound arrow rides the bound shape's facing side through move / resize / rotate.