Class InterlacedSurfaceViewPinchZoom


  • public class InterlacedSurfaceViewPinchZoom
    extends Object
    • Constructor Detail

      • InterlacedSurfaceViewPinchZoom

        public InterlacedSurfaceViewPinchZoom​(InterlacedView view)
    • Method Detail

      • onTouchEvent

        public boolean onTouchEvent​(MotionEvent e)
      • setZonePlateSensitivity

        public void setZonePlateSensitivity​(float sensitivity)
      • setZonePlateOrientationNatural

        public void setZonePlateOrientationNatural​(boolean orientationNatural)
      • setZoom

        public static void setZoom​(InterlacedView view,
                                   float scaleX,
                                   float scaleY,
                                   float focusX,
                                   float focusY,
                                   boolean applyLimits)
        Set InterlacedSurfaceViewConfig.localMatrix.
        This example shows how to zoom around a point using the localMatrix.
        An example of how to use the userMatrix has also been added.
      • setTranslation

        public static void setTranslation​(InterlacedView view,
                                          float panX,
                                          float panY,
                                          boolean applyLimits)
        Set InterlacedSurfaceViewConfig.localMatrix.
        This example shows how to pan the image using the localMatrix.
        An example of how to use the userMatrix has also been added.