TypeLibF REALbasic Support Plugin

RectF.Inset Method

Shrinks or expands a rectangle by given x and y values.

Inset(
   x as Single,
   y as Single)

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

RectF Class