Line-like regions use the midpoint between their two endpoints. Polygonal
regions use the center of their control-point bounding box. Center-based
regions use their first control point. Invalid or incomplete inputs fall back
to the first control point when available, otherwise {x: 0, y: 0}.
Computes a region center from raw control points.
Line-like regions use the midpoint between their two endpoints. Polygonal regions use the center of their control-point bounding box. Center-based regions use their first control point. Invalid or incomplete inputs fall back to the first control point when available, otherwise
{x: 0, y: 0}.