Interface: LoadSVGConfig

LoadSVGConfig

Configuration for the loadSVG plugin.

Properties:
Name Type Default Description
crossOrigin HTMLImageElement["crossOrigin"] 'anonymous'

The crossOrigin value to use for loading the SVG as an image.

parseAsGraphicsContext boolean false

When set to true, loading and decoding images will happen with new Image(),

See:
  • assets.loadSVG

Members

crossOrigin HTMLImageElement["crossOrigin"]

The crossOrigin value to use for loading the SVG as an image.

Default Value:
  • 'anonymous'

parseAsGraphicsContext boolean

When set to true, loading and decoding images will happen with new Image(),

Default Value:
  • false