comp • gb.qt4 • paint • drawimage

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.