Last updated
drawSVGWithEffect(
url,x,y,scale,alpha):void
Draws an SVG from an http/https URL colored with the current HUD effect (rainbow/gradient/pulse/none).
url
string
An http/https SVG URL.
x
number
The x position.
y
number
The y position.
scale
number
The rasterization scale.
alpha
number
The opacity (0.0β1.0).
void
drawSVGWithEffect(
url,x,y,scale,alpha,glowAmount):void
Draws an SVG from an http/https URL with the current HUD effect and a soft glow behind it.
url
string
An http/https SVG URL.
x
number
The x position.
y
number
The y position.
scale
number
The rasterization scale.
alpha
number
The opacity (0.0β1.0).
glowAmount
number
The glow blur radius in pixels.
void
Last updated