public class PieHitTestInfo extends java.lang.Object implements IHitTestInfo
Modifier and Type | Field and Description |
---|---|
android.graphics.PointF |
hitTestPoint
The point where hit test is performed in pixels
|
boolean |
isHit
The value indicating whether the HitTest operation was a hit or not
|
int |
segmentIndex
The index of hit test point in associated
PieSegmentCollection |
Constructor and Description |
---|
PieHitTestInfo() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
isEmpty()
Gets the value indicating whether this
IHitTestInfo is empty or not |
void |
set(float x,
float y,
int segmentIndex)
Sets the hit test info values
|
public final android.graphics.PointF hitTestPoint
public boolean isHit
public int segmentIndex
PieSegmentCollection
public void set(float x, float y, int segmentIndex)
x
- The x coordinate of hit test pointy
- The y coordinate of hit test pointsegmentIndex
- The index of hit test point in associated PieSegmentCollection
public void clear()
clear
in interface com.scichart.core.framework.ICleanable
public boolean isEmpty()
IHitTestInfo
is empty or notisEmpty
in interface IHitTestInfo
IHitTestInfo
is empty