Static
fromCreate an SVGLoader
from the content of an SVG image. SVGs are loaded within a sandboxed
iframe with sandbox="allow-same-origin"
thereby disabling JavaScript.
Textual representation of the SVG (e.g. <svg viewbox='...'>...</svg>
).
if true
or false
, treated as the sanitize
option -- don't store unknown attributes.
Handles loading images from SVG.