封鎖 >BlockSvg >getSvgRoot

BlockSvg.getSvgRoot() 方法

傳回 SVG 的根節點;如果不存在,則傳回空值。

Signature:

getSvgRoot(): SVGGElement;

傳回:

SVGGElement

根 SVG 節點 (可能是群組)。