Skip to content

DrawTintRect (RSDKv4)

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)