This function will draw a rectangle at a location on the screen.
The X offset from the left side of the screen
The Y offset from the top of the screen
The width of the rectangle
The height of the rectangle
The color of the rectangle as an RGB hexadecimal number (0xRRGGBB)
This function will draw a PixelArray at a location on the screen.
The X offset from the left side of the screen.
The Y offset from the top of the screen.
The pixel array that contains a texture. The dimensions are not limited, however, higher image dimensions will take longer to draw and potentially lose frames.
This function gets the height of the window's renderable area
The height of the renderable area
This function gets the width of the window's renderable area
The width of the renderable area
The drawing context that is provided when ModDefinition.hud is called