Skip to content

DrawTintRect (RSDKv3)

Description

Draws a tinted rectangle to iXPos and iYPos in screen-space.

Parameters

iXPos

The position of the rectangle on the horizontal axis in screen-space.

iYPos

The position of the rectangle on the vertical axis in screen-space.

Width

The width of the rectangle.

Height

The height of the rectangle.

Return Value

None.

Syntax

DrawTintRect(int iXPos, int iYPos, int Width, int Height)

Example

DrawTintRect(30, 220, 60, 20)