Last updated
drawTextureGradient(
url,x,y,w,h,c1,c2,vertical):void
Draws an image from an http/https URL with a two-color gradient overlay blended on top of the texture RGB.
string
An http/https image URL.
number
The x position.
number
The y position.
number
The width.
number
The height.
The start color.
The end color.
boolean
True for top-to-bottom, false for left-to-right.
void
Last updated