pickElement Method
Find the topmost MarkupElement at the specified point in the markup view.
pickElement(pt: XAndY): @svgdotjs/svg.js.Element | undefined
@returns The topmost element, or undefined if no elements under pt.
| Parameter | Type | Description |
|---|---|---|
| pt | XAndY | the point in view coordinates |
Returns - @svgdotjs/svg.js.Element | undefined
The topmost element, or undefined if no elements under pt.
Defined in
- markup/src/MarkupTool.ts Line 73
Last Updated: 04 June, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.