Point centerLeft(Point origin)

The point at the center of the left edge of the rectangle described by the given point (which is interpreted as the top-left corner) and this size.

See also Rect.centerLeft.

Source

Point centerLeft(Point origin) => new Point(origin.x, origin.y + height / 2.0);