moveBottomLeft method

Rect moveBottomLeft(
  1. Offset bottomLeft
)

Moves the rectangle, leaving the bottom-left corner at the given position. The rectangle's size is unchanged.

Implementation

Rect moveBottomLeft(Offset bottomLeft) {
  return moveLeft(bottomLeft.dx).moveBottom(bottomLeft.dy);
}