pickElement Method

Find the topmost MarkupElement at the specified point in the markup view.

pickElement(pt: XAndY): MarkupElement | undefined

Parameter Type Description
pt XAndY the point in view coordinates

Returns - MarkupElement | undefined

The topmost element, or undefined if no elements under pt.

Defined in

Last Updated: 15 June, 2021