Class PieHitTestInfo
Defines a hit test info class which provides information on a series hit-test operation for pie series.
Implements
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class PieHitTestInfo implements renderableSeries.hitTest.IHitTestInfo
Constructors
PieHitTestInfo()
Declaration
public PieHitTestInfo()
Fields
hitTestPoint
The point where hit test is performed in pixels.
Declaration
public final PointF hitTestPoint
Field Value
| Type | Description |
|---|---|
| android.graphics.PointF |
isHit
The value indicating whether the HitTest operation was a hit or not.
Declaration
public boolean isHit
Field Value
| Type | Description |
|---|---|
| boolean |
segmentIndex
The index of hit test point in associated PieSegmentCollection.
Declaration
public int segmentIndex
Field Value
| Type | Description |
|---|---|
| int |
Methods
clear()
Declaration
public void clear()
isEmpty()
Gets the value indicating whether this IHitTestInfo is empty or not.
Declaration
public boolean isEmpty()
Returns
| Type | Description |
|---|---|
| boolean |
set(float x, float y, int segmentIndex)
Sets the hit test info values.
Declaration
public void set(float x, float y, int segmentIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| float | x | The x coordinate of hit test point. |
| float | y | The y coordinate of hit test point. |
| int | segmentIndex | The index of hit test point in associated PieSegmentCollection. |