hudRenderer.drawRectGlow
drawRectGlow(
x,y,w,h,radius,color,glowRadius,glowColor):void
Draws a rounded rectangle with a solid color and an outer glow.
Parameters
x
number
The x position.
y
number
The y position.
w
number
The width.
h
number
The height.
radius
number
The corner radius.
color
The fill color.
glowRadius
number
The glow falloff radius in pixels.
glowColor
The glow color (alpha controls maximum intensity).
Returns
void
Last updated