Interface INearestPointProvider
Defines the interface with method for search of nearest point See Also: com.scichart.charting.visuals.renderableSeries.IRenderableSeries#hitTest(HitTestInfo, float, float, float), com.scichart.charting.visuals.renderableSeries.IRenderableSeries#hitTest(HitTestInfo, float, float), com.scichart.charting.visuals.renderableSeries.IRenderableSeries#verticalSliceHitTest(HitTestInfo, float, float)
Implements
Namespace:
Assembly: .dll
Syntax
public interface INearestPointProvider extends IAttachable
Methods
setNearestHorizontalPointResult(renderableSeries.hitTest.HitTestInfo hitTestResult, float x, float y)
Performs search of nearest point in x direction only
Declaration
public abstract void setNearestHorizontalPointResult(renderableSeries.hitTest.HitTestInfo hitTestResult, float x, float y)
Parameters
Type | Name | Description |
---|---|---|
renderableSeries.hitTest.HitTestInfo | hitTestResult | The hit test info to update |
float | x | The x coordinate of hit test in pixels |
float | y | The y coordinate of hit test in pixel |
setNearestPoint2D(renderableSeries.hitTest.HitTestInfo hitTestResult, float x, float y, float hitTestRadius)
Performs search of nearest point in 2D
Declaration
public abstract void setNearestPoint2D(renderableSeries.hitTest.HitTestInfo hitTestResult, float x, float y, float hitTestRadius)
Parameters
Type | Name | Description |
---|---|---|
renderableSeries.hitTest.HitTestInfo | hitTestResult | The hit test info to update |
float | x | The x coordinate of hit test in pixels |
float | y | The y coordinate of hit test in pixel |
float | hitTestRadius | The hit test radius in pixels |