SVG Loader

This loader reads the file as an SVG image and returns an svg image object.

File Format

The file format is as specified by the SVG specification at W3C.

Use

  1. Create an svg file in your inventory, containing the required SVG image. e.g Lets assume you create a file called testsvg.svg.
  2. To use the SVG image within a script, we just have to refer to the name of the image file, e.g.
    testsvg
                
    and this will load the SVG image for us, as a MillScript svg image.

Notes