Documentazione di Gambas
Application Repository
Come...
Componenti
gb
gb.args
gb.data
gb.db - Database access component
gb.dbus
gb.debug
gb.desktop
gb.eval
gb.eval.highlight
gb.form.dialog
gb.image
gb.inotify
gb.net
gb.pcre
gb.qt4
_split
_TreeView
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
AntiAlias
Arc
Background
Begin
Brush
BrushOrigin
Clip
ClipExtents
ClipRect
ClosePath
Color
CurveTo
Dash
DashOffset
Device
DrawImage
DrawPicture
DrawRichText
DrawRichTextShadow
DrawText
DrawTextShadow
Ellipse
End
ExtendPad
ExtendReflect
ExtendRepeat
Fill
FillRect
FillRule
FillRuleEvenOdd
FillRuleWinding
Font
H
Height
Image
LinearGradient
LineCap
LineCapButt
LineCapRound
LineCapSquare
LineJoin
LineJoinBevel
LineJoinMiter
LineJoinRound
LineTo
LineWidth
Matrix
MiterLimit
MoveTo
NewPath
Operator
OperatorAdd
OperatorATop
OperatorClear
OperatorDest
OperatorDestATop
OperatorDestIn
OperatorDestOut
OperatorDestOver
OperatorIn
OperatorOut
OperatorOver
OperatorSaturate
OperatorSource
OperatorXor
PathContains
PathExtents
PathOutline
Polygon
RadialGradient
Rectangle
RelCurveTo
RelLineTo
RelMoveTo
Reset
ResetClip
ResolutionX
ResolutionY
Restore
RichText
RichTextExtents
RichTextSize
Rotate
Save
Scale
Stroke
Text
TextExtents
TextSize
Translate
TrimRichText
TrimText
W
Width
X
Y
ZoomImage
PaintBrush
PaintExtents
PaintMatrix
Panel
Picture
PictureBox
Point
Pointer
PointF
Printer
ProgressBar
RadioButton
Rect
RectF
Screen
Screens
Scroll
ScrollArea
ScrollBar
ScrollView
Select
Separator
Slider
SpinBox
Style
SvgImage
TabStrip
TextArea
TextBox
TextLabel
ToggleButton
ToolButton
TreeView
UserContainer
UserControl
VBox
VPanel
VSplit
Watcher
Window
Windows
gb.qt5
gb.sdl.sound - Sound library based on SDL
gb.settings
gb.v4l
Da fare
Documentazione Sviluppatori
Documenti
Indice del linguaggio
LEGGIMI
Lessico
Licenza dello Wiki
Messaggi di errore
Panoramica del linguaggio
Registrazione
Ultime modifiche
Wiki Manual

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.