Rect.offset

Construct a new Rect from left, top, right and bottom values.

  1. void offset(int x, int y)
  2. void offset(Point pt)
    struct Rect
    pure nothrow
    void
    offset
  3. int x;
  4. int y;
  5. int width;
  6. int height;

Meta