waveview/src/main/java/com/narayanacharya/waveview/WaveView.java
private void boundXAxisPositionMultiplier() {
        if (xAxisPositionMultiplier < 0) {
            xAxisPositionMultiplier = 0;
        } else if (xAxisPositionMultiplier > 1) {
            xAxisPositionMultiplier = 1;
        }
    }
/**
     * Method to restrict the xAxisPositionMultiplier to a value between 0 and 1 so that the wave
     * stays on screen.
     */
Method to restrict the xAxisPositionMultiplier to a value between 0 and 1 so that the wave
stays on screen.
Method to restrict the xAxisPositionMultiplier to a value between 0 and 1 so that the wave stays on screen .
private void boundXAxisPositionMultiplier() {
        if (xAxisPositionMultiplier < 0) {
            xAxisPositionMultiplier = 0;
        } else if (xAxisPositionMultiplier > 1) {
            xAxisPositionMultiplier = 1;
        }
    }
private void boundXAxisPositionMultiplier ( ) { if ( xAxisPositionMultiplier < 0 ) { xAxisPositionMultiplier = 0 ; } else if ( xAxisPositionMultiplier > 1 ) { xAxisPositionMultiplier = 1 ; } }
Method to restrict the xAxisPositionMultiplier to a value between 0 and 1 so that the wave
 stays on screen.
Method to restrict the xAxisPositionMultiplier to a value between 0 and 1 so that the wave stays on screen .