pixi-jsFunctions
Function: parseSVGStyle()
> parseSVGStyle(svg, session): StyleResult
Defined in: node_modules/pixi.js/lib/scene/graphics/shared/svg/parseSVGStyle.d.ts:80
Internal
Parses SVG style attributes and inline styles to determine fill and stroke properties. Handles both direct attributes and CSS-style declarations in the style attribute.
Parameters
svg
SVGElement
The SVG element to parse styles from
session
The current SVG parsing session containing definitions
Returns
An object containing the parsed fill and stroke styles