pickElement Method

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

pickElement(pt: Readonly<WritableXAndY>): undefined | Element

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

Parameter Type Description
pt Readonly<WritableXAndY> the point in view coordinates

Returns - undefined | Element

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

Defined in

Last Updated: 16 April, 2024