Home

function: getSvgSize


getSvgSize(svgString: string): Size, undefined

Get size from an svg string using regexp.

Params:

Name Type Attribute Description
svgString

a serialized svg element

Returns:

Size, undefined

  {
    "comment": "/**\n * Get size from an svg string using regexp.\n *\n * @memberof PIXI.utils\n * @function getSvgSize\n * @param {string} svgString - a serialized svg element\n * @return {Size|undefined} image extension\n */",
    "meta": {
        "range": [
            4429,
            4632
        ],
        "filename": "index.js",
        "lineno": 187,
        "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\utils",
        "code": {}
    },
    "description": "

Get size from an svg string using regexp.

", "memberof": "PIXI.utils", "kind": "function", "name": "getSvgSize", "params": [ { "type": { "names": [ "string" ] }, "description": "

a serialized svg element

", "name": "svgString" } ], "returns": [ { "type": { "names": [ "Size", "undefined" ] }, "description": "

image extension

" } ], "scope": "static", "longname": "PIXI.utils.getSvgSize", "___id": "T000002R004380", "___s": true, "filepath": "core\\utils\\index.js" }