DrawImageAreaRect

From IfsoGUIWiki

Jump to: navigation, search

Contents

Declaration

DrawImageAreaRect(image:TImage, x:Float, y:Float, w:Float, h:Float)
Draws an image stretched and restricted to the area of the viewport. If the stretched image would be partially drawn outside of the current viewport, then only the visible part will be drawn.

Returns

Nothing

Parameters

  • image:TImage - Image to draw.
  • x:Float - X position to draw at.
  • y:Float - Y position to draw at.
  • w:Float - Width to draw the image at.
  • h:Float - Height to draw the image at.

Gadget Information


Pertains to ifsoGUI_VP.

Example

Personal tools