Rect.this

this(int x, int y, int width, int height) @safe nothrow @nogc

Creates a rectangle from position and size.

Parameters

xX coordinate
yY coordinate
widthWidth
heightHeight