Documentation

Draw Image - Open Dev Kit Documentation

Open Dev Kit Documentation :: GUI :: Render Context :: Draw Image

GUI.RenderContext.DrawImage(
  Image Image*,
  Area Rectangle,
  Color Color,
  Texture Area Rectangle
) 
Draws an image within a specified area of the render context

Parameters

Image Image*
Image to be drawn
Area Rectangle
Rectangle defining the area of the canvas in pixels, in which the image is to be drawn
Color Color
Color to blend with the image
Texture Area Rectangle
Sub-rectangle of the source image to draw, allowing for partial drawing of the image

Return Value

Nothing

If you think anything is missing, please feel free to: submit documentation feedback on this page