Normalizes the this and offsets its origin by the d_x
and d_y
values; the
size is adjusted by (2 * d_x
, 2 * d_y
).
If d_x
and d_y
are positive the size of the rectangle is decreased; if the values are negative, the size of the
rectangle is increased.
If the resulting rectangle has a negative width or height, the size is set to 0.
this |
a Rect |
d_x |
an horizontal value; a positive |
d_y |
a vertical value; a positive |