public class PinchZoomModifier3D extends ScaleModifierBase3D
PinchZoomModifier3D
provides zooming of the SciChartSurface3D
with the pinch gesture.Constructor and Description |
---|
PinchZoomModifier3D() |
Modifier and Type | Method and Description |
---|---|
float |
getScaleFactor()
Gets the scale factor to scale (or shrink) on pinch gesture.
|
boolean |
onScale(android.view.ScaleGestureDetector detector) |
boolean |
onScaleBegin(android.view.ScaleGestureDetector detector) |
void |
onScaleEnd(android.view.ScaleGestureDetector detector) |
void |
setScaleFactor(float scaleFactor)
Sets the scale factor to scale (or shrink) on pinch gesture.
|
attachTo, detach, onTouch
getCamera, getContext, getModifierSurface, getParentSurface, getPointRelativeTo, getXAxis, getYAxis, getZAxis, onChartRendered, onXAxisChanged, onYAxisChanged, onZAxisChanged
applyThemeProvider, checkPointerCounter, getEventsGroupTag, getIsEnabled, getReceiveHandledEvents, getServices, isAttached, onGenericMotion, onIsEnabledChanged, onRenderableSeriesCollectionChanged, onRenderableSeriesDrasticallyChanged, onSelectedSeriesCollectionChanged, setEventsGroupTag, setIsEnabled, setReceiveHandledEvents
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEventsGroupTag, getIsEnabled, setIsEnabled
public final float getScaleFactor()
public final void setScaleFactor(float scaleFactor)
scaleFactor
- The new scaleFactor
valuepublic boolean onScaleBegin(android.view.ScaleGestureDetector detector)
public boolean onScale(android.view.ScaleGestureDetector detector)
public void onScaleEnd(android.view.ScaleGestureDetector detector)