blockly > blockRendering > PathObject > svgRoot
Eigenschaft blockRendering.PathObject.svgRoot
Unterschrift:
svgRoot: SVGElement;
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-08-21 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-08-21 (UTC)."],[[["`svgRoot` is a property of the `PathObject` class within the `blockRendering` namespace in Blockly."],["It stores the root SVG element for the rendered path of a block, allowing for manipulation and interaction with the visual representation."],["This property is of type `SVGElement`, indicating it holds a reference to an SVG element in the Document Object Model (DOM)."]]],["The `svgRoot` property, part of the `blockRendering.PathObject` class, is defined as an `SVGElement`. This property directly stores the root SVG element associated with a rendered path object within the Blockly framework. Its primary function is to provide access to the underlying SVG structure for manipulation or querying.\n"]]