hudRenderer.drawRing

drawRing(cx, cy, radius, thickness, color): void

Draws a ring (hollow circle).

Parameters

cx

number

The center x position.

cy

number

The center y position.

radius

number

The outer radius.

thickness

number

The ring thickness in pixels.

color

Color

The fill color.

Returns

void

Last updated