private boolean onDoubleClick() {
        if (mClearOnDoubleClick) {
            this.clearView();
            return true;
        }
        return false;
    }
Set the velocity filter weight.

@param velocityFilterWeight the weight.
signature-pad/src/main/java/com/github/gcacace/signaturepad/views/SignaturePad.java