import { Graphics } from '@pixi/graphics'; /** * Scalable Graphics drawn from SVG image document. * @class SVG * @extends PIXI.Graphics */ declare class SVG extends Graphics { /** Fallback line color */ private lineColor; /** * @param svg - Inline SVGElement `` or buffer. */ constructor(svg?: SVGSVGElement | SVGElement | string); /** * Draw an SVG element. * @param svg - Inline SVGElement `` or buffer. * @return Element suitable for chaining. */ drawSVG(svg: SVGSVGElement | SVGElement | string): this; /** * Create a PIXI Graphic from SVG element * @param children - Collection of SVG nodes * @param inherit - Whether to inherit fill settings. */ private _svgChildren; /** Convert the Hexidecimal string (e.g., "#fff") to uint */ private _hexToUint; /** * Render a element or element * @param node - Circle element */ private _svgCircle; /** * Render a element * @param node - Rectangle element */ private _svgRect; /** * Convert the SVG style name into usable name. * @param name - Name of style * @return Name used to reference style */ private _convertStyleName; /** * Get the style property and parse options. * @param node - Element with style * @return Style attributes */ private _svgStyle; /** * Render a polyline element. * @param node - Polyline element * @param close - Close the path */ private _svgPoly; /** * Set the fill and stroke style. * @param node - SVG element * @param inherit - Inherit the fill style */ private _svgFill; /** * Render a d element * @param node - Path element. */ private _svgPath; } export { SVG };