inset
Rectangle that has been adjusted as follows [x + i, y + i, w - 2i, h - 2i], where i is the inset
Return
adjusted Rectangle
Parameters
inset
amount to resize by
Rectangle that has been adjusted as follows [x + left, y + top, w - (left + right), h - (top + bottom)], where the adjustments are from the inset
Return
adjusted Rectangle
Parameters
inset
amount to resize by