fromLTWH static method

Rectangle<double> fromLTWH(
  1. Point<double> topLeft,
  2. Point<double> size
)

Implementation

static math.Rectangle<double> fromLTWH(
    math.Point<double> topLeft, math.Point<double> size) {
  return math.Rectangle<double>(topLeft.x, topLeft.y, size.x, size.y);
}