public class NearestUniformHeatmapPointProvider extends NearestPointProviderBase<UniformHeatmapRenderPassData>
FastUniformHeatmapRenderableSeries
currentRenderPassData, renderableSeries
Constructor and Description |
---|
NearestUniformHeatmapPointProvider() |
Modifier and Type | Method and Description |
---|---|
void |
setNearestHorizontalPointResult(HitTestInfo hitTestResult,
float x,
float y)
Performs search of nearest point in x direction only
|
void |
setNearestPoint2D(HitTestInfo hitTestResult,
float x,
float y,
float hitTestRadius)
Performs search of nearest point in 2D
|
attachTo, detach, isAttached
public void setNearestPoint2D(HitTestInfo hitTestResult, float x, float y, float hitTestRadius)
hitTestResult
- The hit test info to updatex
- The x coordinate of hit test in pixelsy
- The y coordinate of hit test in pixelhitTestRadius
- The hit test radius in pixelspublic void setNearestHorizontalPointResult(HitTestInfo hitTestResult, float x, float y)
hitTestResult
- The hit test info to updatex
- The x coordinate of hit test in pixelsy
- The y coordinate of hit test in pixel