RectF.Shrink (gb.qt4)

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

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.