Click or drag to resize

IGPlotItemHitTest Method

Tests whether the mouse hits a plot item. The default implementation returns . If you want to have a reaction on mouse click on a curve, return a IHitTestObject.

Namespace: Altaxo.Graph.Gdi.Plot
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
IHitTestObject? HitTest(
	IPlotArea layer,
	PointD2D hitpoint
)

Parameters

layer  IPlotArea
The layer in which this plot item is drawn into.
hitpoint  PointD2D
The point where the mouse is pressed.

Return Value

IHitTestObject
if there is no hit, or an IHitTestObject if there was a hit.
See Also