public class ChartZoomer
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static float |
ZOOM_AMOUNT |
| Constructor and Description |
|---|
ChartZoomer(android.content.Context context,
ZoomType zoomType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
computeZoom(ChartComputator computator) |
ZoomType |
getZoomType() |
boolean |
scale(ChartComputator computator,
float focusX,
float focusY,
float scale) |
void |
setZoomType(ZoomType zoomType) |
boolean |
startZoom(android.view.MotionEvent e,
ChartComputator computator) |
public static final float ZOOM_AMOUNT
public ChartZoomer(android.content.Context context,
ZoomType zoomType)
public boolean startZoom(android.view.MotionEvent e,
ChartComputator computator)
public boolean computeZoom(ChartComputator computator)
public boolean scale(ChartComputator computator, float focusX, float focusY, float scale)
public ZoomType getZoomType()
public void setZoomType(ZoomType zoomType)