pick MethodOptional

Optional method to provide feedback when mouse events occur on this decoration.

pick(pt: XAndY): boolean

note If this method is not present, no mouse events are directed to this decoration.

Parameter Type Description
pt XAndY The position of the mouse in the ScreenViewport

Returns - true if the mouse is inside this decoration.

Defined in

Last Updated: 08 January, 2020