Test wether the mouse hits a plot item. The default implementation returns null.
If you want to have a reaction on mouse click on a curve, return a
IHitTestObject.
Namespace: Altaxo.Graph.Graph3D.PlotAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax IHitTestObject? HitTest(
IPlotArea layer,
HitTestPointData hitpoint
)
Parameters
- layer IPlotArea
- The layer in which this plot item is drawn into.
- hitpoint HitTestPointData
- The point where the mouse is pressed.
Return Value
IHitTestObjectNull if no hit, or a
IHitTestObject if there was a hit.
See Also