static DoubleRect doubleRectFromRanges(DoubleRange x, DoubleRange y) { ret DoubleRect(x.start, y.start, x.length(), y.length()); }