G2DPlotItemGetNearestPlotPoint Method |
Returns the index of a scatter point that is nearest to the location hitpoint
Namespace: Altaxo.Graph.Gdi.PlotAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public XYScatterPointInformation? GetNearestPlotPoint(
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
XYScatterPointInformationThe information about the point that is nearest to the location, or null if it can not be determined.
See Also