TypeLib Xojo support Plugin |
|
Rectangle.Inset Method
Shrinks or expands a rectangle by given x and y values.

Inset(
x
as Integer,
y
as Integer)
Parameters
- x
- If > 0 then the rectangle is horizontally shrunken by x pixels in both directions. If < 0 then its horizontally expanded in each direction.
- y
- If > 0 then the rectangle is vertically shrunken by x pixels in both directions. If < 0 then its vertically expanded in each direction.
Remarks
See Also
Rectangle Class