Survei Riset: Ceritakan pengalaman Anda dengan Blockly
Mulai survei
blockly > blockRendering > PathObject > svgRoot
Properti blockRendering.PathObject.svgRoot
Tanda Tangan:
svgRoot: SVGElement;
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-08-21 UTC.
[null,null,["Terakhir diperbarui pada 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"]]