Dokumentaro de Gambaso
Compilation & Installation
Components
gb
gb.crypt
gb.qt4
Control
Key
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

Paint.DrawRect (gb.qt4)

Static Sub DrawRect ( X As Float, Y As Float, Width As Float, Height As Float, Color As Integer [ , Size As Float ] )

Draw a rectangle frame

  • X, Y, Width and Height define the position and size of the rectangle.

  • Color is the color used for painting the rectangle.

  • Size is the width of the rectangle border. It's 1 pixel by default. If negative, then the frame will be painted outside of the rectangle, otherwise inside.