Search Results for

    Show / Hide Table of Contents

    Class PinchZoomModifier

    The PinchZoomModifier provides zooming of the SciChartSurface with the pinch gesture.

    Inheritance
    java.lang.Object
    ReceiveMotionEventsBase
    ChartModifierCore
    ChartModifierBase
    ScaleModifierBase
    PinchZoomModifier
    Inherited Members
    ChartModifierBase.<T>getMasterModifier(T,IReceiveMotionEvents)
    ChartModifierBase.getAllXAxes()
    ChartModifierBase.getAllYAxes()
    ChartModifierBase.getContext()
    ChartModifierBase.getModifierSurface()
    ChartModifierBase.getParentSurface()
    ChartModifierBase.getPointRelativeTo(PointF,IHitTestable)
    ChartModifierBase.getRenderableSeries()
    ChartModifierBase.getRenderableSeriesArea()
    ChartModifierBase.getXAxes()
    ChartModifierBase.getXAxis()
    ChartModifierBase.getXAxis(String)
    ChartModifierBase.getYAxes()
    ChartModifierBase.getYAxis()
    ChartModifierBase.getYAxis(String)
    ChartModifierBase.includeAllAxes()
    ChartModifierBase.includeXAxis(IAxis,boolean)
    ChartModifierBase.includeYAxis(IAxis,boolean)
    ChartModifierBase.isWithinSourceBounds(float,float,boolean,IReceiveMotionEvents)
    ChartModifierBase.onAnnotationsCollectionChanged(CollectionChangedEventArgs<IAnnotation>)
    ChartModifierBase.onAnnotationsDrasticallyChanged()
    ChartModifierBase.onParentSurfaceResized(ResizedMessage)
    ChartModifierBase.onRenderSurfaceRendered(RenderedMessage)
    ChartModifierBase.onXAxesCollectionChanged(CollectionChangedEventArgs<IAxis>)
    ChartModifierBase.onXAxesDrasticallyChanged()
    ChartModifierBase.onYAxesCollectionChanged(CollectionChangedEventArgs<IAxis>)
    ChartModifierBase.onYAxesDrasticallyChanged()
    ChartModifierCore.applyThemeProvider(IThemeProvider)
    ChartModifierCore.checkPointerCounter(MotionEvent,int)
    ChartModifierCore.getEventsGroupTag()
    ChartModifierCore.getIsEnabled()
    ChartModifierCore.getReceiveHandledEvents()
    ChartModifierCore.getServices()
    ChartModifierCore.isAttached()
    ChartModifierCore.onGenericMotion(ModifierTouchEventArgs)
    ChartModifierCore.onIsEnabledChanged(boolean)
    ChartModifierCore.onRenderableSeriesCollectionChanged(CollectionChangedEventArgs<? extends renderableSeries.IRenderableSeriesCore>)
    ChartModifierCore.onRenderableSeriesDrasticallyChanged()
    ChartModifierCore.onSelectedSeriesCollectionChanged(CollectionChangedEventArgs<? extends renderableSeries.IRenderableSeriesCore>)
    ChartModifierCore.setEventsGroupTag(String)
    ChartModifierCore.setIsEnabled(boolean)
    ChartModifierCore.setReceiveHandledEvents(boolean)
    ScaleModifierBase.attachTo(IServiceContainer)
    ScaleModifierBase.detach()
    ScaleModifierBase.onTouch(ModifierTouchEventArgs)
    ReceiveMotionEventsBase.getName()
    Object.clone()
    Object.equals(Object)
    Object.finalize()
    Object.getClass()
    Object.hashCode()
    Object.notify()
    Object.notifyAll()
    Object.toString()
    Object.wait()
    Object.wait(long)
    Object.wait(long,int)
    Namespace:
    Assembly: .dll
    Syntax
    public class PinchZoomModifier extends ScaleModifierBase

    Constructors

    PinchZoomModifier()

    Declaration
    public PinchZoomModifier()

    Methods

    getApplicableXAxes()

    Gets the Iterable collection of the XAxes to which this modifier may be applicable on.

    Declaration
    protected Iterable<IAxis> getApplicableXAxes()
    Returns
    Type Description
    Iterable<IAxis>

    The collection of the XAxes which this modifier may be applicable on.

    getApplicableYAxes()

    Gets the Iterable collection of the YAxes to which this modifier may be applicable on.

    Declaration
    protected Iterable<IAxis> getApplicableYAxes()
    Returns
    Type Description
    Iterable<IAxis>

    The collection of the YAxes which this modifier may be applicable on.

    getDirection()

    Gets the Direction2D to restrict zoom interactivity to.

    Declaration
    public final Direction2D getDirection()
    Returns
    Type Description
    Direction2D

    The Direction2D to restrict zoom interactivity to.

    getIsUniformZoom()

    Sets the value which indicates whether uniform zoom should be used by this modifier.

    When uniform zoom is set to true then modifier applies same scale factor for both x and y direction, otherwise scale factor calculated separately for x and y direction based on information from touch events

    Declaration
    public final boolean getIsUniformZoom()
    Returns
    Type Description
    boolean

    Current isUniformZoom value

    getScaleFactor()

    Gets the scale factor to scale (or shrink) both axes on pinch gesture.

    Declaration
    public final float getScaleFactor()
    Returns
    Type Description
    float

    Float value which indicates scale factor.

    includeAllAxes()

    Includes all X and Y axes

    Declaration
    public void includeAllAxes()
    Overrides
    ChartModifierBase.includeAllAxes()

    includeXAxis(IAxis axis, boolean isIncluded)

    Includes or excludes X axis

    Declaration
    public void includeXAxis(IAxis axis, boolean isIncluded)
    Parameters
    Type Name Description
    IAxis axis
    boolean isIncluded
    Overrides
    ChartModifierBase.includeXAxis(IAxis axis, boolean isIncluded)

    includeYAxis(IAxis axis, boolean isIncluded)

    Includes or excludes Y axis

    Declaration
    public void includeYAxis(IAxis axis, boolean isIncluded)
    Parameters
    Type Name Description
    IAxis axis
    boolean isIncluded
    Overrides
    ChartModifierBase.includeYAxis(IAxis axis, boolean isIncluded)

    onScale(ScaleGestureDetector detector)

    Declaration
    public boolean onScale(ScaleGestureDetector detector)
    Parameters
    Type Name Description
    android.view.ScaleGestureDetector detector
    Returns
    Type Description
    boolean

    onScaleBegin(ScaleGestureDetector detector)

    Declaration
    public boolean onScaleBegin(ScaleGestureDetector detector)
    Parameters
    Type Name Description
    android.view.ScaleGestureDetector detector
    Returns
    Type Description
    boolean

    onScaleEnd(ScaleGestureDetector detector)

    Declaration
    public void onScaleEnd(ScaleGestureDetector detector)
    Parameters
    Type Name Description
    android.view.ScaleGestureDetector detector

    performZoom(PointF point, double xValue, double yValue)

    Performs a zoom around the passed in point by the specified X and Y factor

    Declaration
    protected void performZoom(PointF point, double xValue, double yValue)
    Parameters
    Type Name Description
    android.graphics.PointF point

    The point to perform zoom around.

    double xValue

    The x zoom factor.

    double yValue

    The y zoom factor.

    setDirection(Direction2D direction)

    Sets the Direction2D to restrict zoom interactivity to.

    Declaration
    public final void setDirection(Direction2D direction)
    Parameters
    Type Name Description
    Direction2D direction

    The new Direction2D to restrict zoom interactivity to.

    setIsUniformZoom(boolean isUniformZoom)

    Sets the value which indicates whether uniform zoom should be used by this modifier

    When uniform zoom is set to true then modifier applies same scale factor for both x and y direction, otherwise scale factor calculated separately for x and y direction based on information from touch events

    Declaration
    public final void setIsUniformZoom(boolean isUniformZoom)
    Parameters
    Type Name Description
    boolean isUniformZoom

    The new isUniformZoom value

    setScaleFactor(float scaleFactor)

    Sets the scale factor to scale (or shrink) both axes on pinch gesture.

    Declaration
    public final void setScaleFactor(float scaleFactor)
    Parameters
    Type Name Description
    float scaleFactor

    The scale factor to scale (or shrink) both axes on pinch gesture.

    Back to top © 2011-2025 SciChart. All rights reserved. | sitemap.xml