DrawImageAreaRect2

From IfsoGUIWiki

Jump to: navigation, search

Contents

Declaration

DrawImageAreaRect2(image:ifsoGUI_Image, x:Float, y:Float, w:Float, h:Float, imgIndex:Int)
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:ifsoGUI_Image - Image and arrays the describe the gadget to be drawn.
  • 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.
  • imgIndex:Int - Index of the portion of the gadget to draw.

Gadget Information


Pertains to ifsoGUI_VP.

Example

Personal tools