public override load(fileName as String) as Void:
Loads another SVG file into this image descriptor.
The native renderer parses and caches the document when it is first rendered. load updates the source path and clears the explicit viewBox override, so the file viewBox is used until resize or crop is called.
| Parameter | Description |
|---|---|
fileName | SVG file path. |
icon = SvgImage()
icon.load("assets/icons/project-explorer.svg")