Point topLeft(Point origin)

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

See also Rect.topLeft.

Source

Point topLeft(Point origin) => origin;