load_svg
Load and draw an SVG file
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 | Type | 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) |