public class HitTestInfo
extends java.lang.Object
implements com.scichart.core.framework.ICleanable
Modifier and Type | Field and Description |
---|---|
int |
dataSeriesIndex
The index of hit test point in associated
IDataSeries |
IRenderableSeries |
hitRenderableSeries |
android.graphics.PointF |
hitTestPoint
The point where hit test is performed in pixels
|
float |
hitTestRadius
The hit test radium in pixels
|
boolean |
isHit
The value indicating whether the HitTest operation was a hit or not
|
boolean |
isWithinDataBounds
The value indicating whether the input point is between first and last series point or not
|
int |
pointSeriesIndex
The index of hit test point in associated
ISeriesRenderPassData |
Constructor and Description |
---|
HitTestInfo() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
isEmpty()
Gets the value indicating whether this
HitTestInfo is empty or not |
void |
set(float x,
float y,
float hitTestRadius,
int dataSeriesIndex,
int pointSeriesIndex)
Sets the hit test info values
|
public final android.graphics.PointF hitTestPoint
public float hitTestRadius
public int dataSeriesIndex
IDataSeries
public int pointSeriesIndex
ISeriesRenderPassData
public boolean isHit
public boolean isWithinDataBounds
public IRenderableSeries hitRenderableSeries
public void set(float x, float y, float hitTestRadius, int dataSeriesIndex, int pointSeriesIndex)
x
- The x coordinate of hit test pointy
- The y coordinate of hit test pointhitTestRadius
- The hit test radiusdataSeriesIndex
- The index of hit test point in associated IDataSeries
pointSeriesIndex
- The index of hit test point in associated ISeriesRenderPassData
public void clear()
clear
in interface com.scichart.core.framework.ICleanable
public final boolean isEmpty()
HitTestInfo
is empty or notHitTestInfo
is empty