For the complete documentation index, see llms.txt. This page is also available as Markdown.

hudRenderer.drawRectWithEffect

drawRectWithEffect(x, y, w, h, radius, alpha): void

Draws a rounded rectangle colored with the current HUD effect (rainbow/gradient/pulse). Falls back to the user's static color when the effect is NONE.

Parameters

x

number

The x position.

y

number

The y position.

w

number

The width.

h

number

The height.

radius

number

The corner radius.

alpha

number

The opacity (0.0โ€“1.0).

Returns

void

Last updated