Stay organized with collections
Save and categorize content based on your preferences.
blockly > blockRendering > PathObject > markerSvg
blockRendering.PathObject.markerSvg property
Holds the markers svg element when the marker is attached to the block. This is null if there is no marker on the block.
Signature:
markerSvg: SVGElement | null;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["The `markerSvg` property of the `PathObject` class stores the SVG element for a marker if it's attached to a block."],["If no marker is associated with the block, the `markerSvg` property will be null."],["This property is specifically for managing SVG markers within the Blockly block rendering system."]]],["The `markerSvg` property, found within `blockRendering.PathObject`, stores the SVG element of a marker attached to a block. If a block has no associated marker, this property's value is `null`. Essentially, it acts as a container for the visual representation of a block's marker, directly linking the marker element to its corresponding block object. It is of `SVGElement` or null type.\n"]]