sinterface WidthAndHeight { int getWidth aka w(); int getHeight aka h(); public default Rect bounds() { ret rect(0, 0, getWidth(), getHeight()); } default int area() { ret toInt(areaAsLong()); } default long areaAsLong() { ret longMul(w(), h()); } }