Rect.Shrink (gb.qt4)

Sub Shrink ( Left As Integer [ , Top As Integer, Right As Integer, Bottom As Integer ] )

Shrink the rectangle with the specified distances.

A positive argument will shrink the rectangle, whereas a negative one will expand it.

  • If Top is not specified, it will take the value of the Left argument.

  • If Right is not specified, it will take the value of the Left argument.

  • If Bottom is not specified, it will take the value of the Top argument.