Gambas dokumentace
Developer Documentation
Documents
Jak na...
Kompilace & instalace
Komponenty
Lexikon
Poslední změny
Registrace
Rejstřík jazyka
Rejstřík jazyka
Wiki Manual
ar
ca
cs
de
en
eo
es
fa
fr
hu
id
it
ja
ko
mk
nl
pl
pt
pt_BR
ru
sq
tr
vi
zh
zh_TW
Paint.DrawImage (gb.qt4)
Static
Sub
DrawImage
(
Image
As
Image
,
X
As
Float
,
Y
As
Float
[
,
Width
As
Float
,
Height
As
Float
,
Opacity
As
Float
,
Source
As
Rect
]
)
Draw an
Image
, or part of it.
Image
: the image to draw.
X
,
Y
: where the image is drawn.
Width
,
Height
: if specified, then the picture is scaled to fit the specified dimensions.
Opacity
: the opacity used for drawing the image, between 0.0 (fully transparent, nothing is drawn) and 1.0 (fully opaque). By default, the image is drawn fully opaque.
Source
: if specified, then only the part of the image described by the rectangle is taken into account for the drawing.