load_svg
load_svg(path, [x=0], [y=0], [scale=1.0], [timeout])
Load and draw an SVG file
Syntaxe
load_svg("icon.svg", x=10, y=10, scale=1.0);
Arguments
| Name | Required | Default | Description |
|---|---|---|---|
path | yes | - | Path to SVG file or URL |
x | - | 0 | X offset |
y | - | 0 | Y offset |
scale | - | 1.0 | Scale factor |
timeout | - | - | Network timeout in ms (optional) |