Documentation de Gambas - /comp/gb.qt4/rectf/adjust

/comp/gb.qt4/rectf/adjust

# RectF.Adjust (gb.qt4)

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

Shrink or expand the rectangle.

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.