Point bottomRight(Point origin)

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

See also Rect.bottomRight.

Source

Point bottomRight(Point origin) => new Point(origin.x + width, origin.y + height);