hudRenderer.drawRectGradient
Last updated
drawRectGradient(
x,y,w,h,radius,color1,color2,vertical):void
Draws a rounded rectangle filled with a two-color gradient.
number
The x position.
number
The y position.
number
The width.
number
The height.
number
The corner radius.
color1 - The start color.
color2 - The end color.
boolean
True for top-to-bottom, false for left-to-right.
void
Last updated