Gambas Documentation
Aperçu du Langage
À traduire
Code Snippets
Comment faire ...
Compilation et installation
Composants
gb
gb.args
gb.cairo
gb.clipper
gb.complex
gb.compress
gb.crypt
gb.db
gb.db.form
gb.dbus
gb.debug
gb.desktop
gb.desktop.gnome.keyring
gb.eval
gb.eval.highlight
gb.form
gb.form.dialog
gb.form.editor
gb.form.mdi
gb.gmp
gb.gsl
gb.gtk
gb.gtk3
gb.gui
gb.image
gb.image.effect
gb.image.imlib
gb.image.io
gb.inotify
gb.libxml
gb.media
gb.mysql
gb.net
gb.net.curl
gb.net.smtp
gb.openal
gb.opengl
gb.opengl.glsl
gb.opengl.glu
gb.opengl.sge
gb.option
gb.pcre
gb.pdf
gb.qt4
.combobox.item
.container.children
.Menu.Children
.TabStripContainer
.TabStripContainer.Children
.TextArea.Selection
.TextBox.Selection
.Window.Controls
.Window.Menus
_ColumnView_Columns
_Draw_Clip
_Draw_Style
_GridView_Cell
_GridView_Column
_GridView_Columns
_GridView_Data
_GridView_Row
_GridView_Rows
_IconView_Item
_ListBox_Item
_TreeView
_TreeView_Item
Action
Align
Application
Arrange
Border
Button
CheckBox
Clipboard
Color
ColumnView
ComboBox
Container
Control
Cursor
Desktop
Dialog
Drag
Draw
DrawingArea
embedder
Fill
Font
Fonts
Form
Frame
GridView
HBox
HPanel
HSplit
IconView
Image
Key
Label
Line
ListBox
ListView
Menu
Message
Mouse
MovieBox
Paint
PaintBrush
PaintExtents
PaintMatrix
Panel
Picture
PictureBox
Printer
ProgressBar
RadioButton
Rect
Screen
Screens
Scroll
ScrollArea
ScrollBar
ScrollView
Select
Separator
Slider
SpinBox
Style
SvgImage
TabStrip
TextArea
TextBox
TextLabel
ToggleButton
ToolButton
trayicon
trayicons
TreeView
UserContainer
UserControl
VBox
VPanel
VSplit
Watcher
Window
Windows
gb.qt4.ext
gb.qt4.opengl
gb.qt4.webkit
gb.qt5
gb.qt5.opengl
gb.report
gb.scanner
gb.sdl
gb.sdl.sound
gb.settings
gb.signal
gb.util
gb.util.web
gb.v4l
gb.vb
gb.web
gb.web.feed
gb.xml
gb.xml.html
gb.xml.rpc
gb.xml.xslt
Controls pictures
Derniers changements
Dépôt d'applications
Documentation de l'Environnement de développement
Documentation des développeurs
Documents
Indenter
Index de tous les Documents
Index du langage
Lexique
LISEZ-MOI
Manuel du wiki
Messages d'erreur
Tutoriels
Wiki License

RectF (gb.qt4)

This class represents a rectangle whose coordinates are two floating point numbers.

Cette classe est instanciable.

Cette classe peut être utilisée comme fonction statique.

Méthodes statiques
Stretch   Stretch a rectangle so that it fits inside a target rectangle frame while keeping its proportions, and return the geometry of the final rectangle.

Propriétés
Bottom   Return or set the position of the bottom border of the rectangle.
H   Return or set the height of the rectangle.
Height   Return or set the height of the rectangle.
Left   Return or set the position of the left border of the rectangle.
Right   Return or set position of the right border of the rectangle.
Top   Return or set the position of the top border of the rectangle.
W   Return or set the width of the rectangle.
Width   Return or set the width of the rectangle.
X   Return or set the X coordinate of the rectangle.
Y   Return or set the Y coordinate of the rectangle.

Méthodes
Adjust   This is a synonymous of the Shrink method.
Center   Return the center of the rectangle.
Clear   Clear the rectangle, i.e. make it void.
Contains   Return if the specified point is included in the rectangle.
Copy   Return a copy of the rectangle.
Expand   Expand the rectangle with the specified distances.
Intersection   Return the intersection between the rectangle and Rect.
IsVoid   Return if the rectangle is void.
Move   Move and optionally resize the rectangle.
Resize   Resize the rectangle.
Shrink   Shrink the rectangle with the specified distances.
Translate   Translate the rectangle.
Union   Return the bounding rectangle of the current rectangle and Rect.