LogoPixi’VN
pixi-jsInterfaces

Interface: LoadSVGConfig

Defined in: node_modules/pixi.js/lib/assets/loader/parsers/textures/loadSVG.d.ts:12

Configuration for the loadSvg plugin.

See

loadSvg

Advanced

Extended by

Properties

crossOrigin

> crossOrigin: string | null

Defined in: node_modules/pixi.js/lib/assets/loader/parsers/textures/loadSVG.d.ts:17

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

Default

'anonymous'

parseAsGraphicsContext

> parseAsGraphicsContext: boolean

Defined in: node_modules/pixi.js/lib/assets/loader/parsers/textures/loadSVG.d.ts:22

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

Default

false