// Path: backbone/src/main/java/org/researchstack/backbone/ui/callbacks/SignatureCallbacks.java
// public interface SignatureCallbacks {
//     void onSignatureStarted();
// 
//     void onSignatureCleared();
// }


import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.CornerPathEffect;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.Point;
import android.graphics.Rect;
import android.graphics.RectF;
import android.graphics.drawable.shapes.PathShape;
import android.os.Parcel;
import android.os.Parcelable;
import android.support.v4.view.ViewCompat;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
import org.researchstack.backbone.R;
import org.researchstack.backbone.ui.callbacks.SignatureCallbacks;
import java.util.ArrayList;
import java.util.List;
package org.researchstack.backbone.ui.views;




/**
 * Note: For save-state to work, the view MUST have an ID
 */
public class SignatureView extends View {

    private static final boolean DEBUG = false;
    private static final String TAG = SignatureView.class.getSimpleName();

// Path: backbone/src/main/java/org/researchstack/backbone/ui/callbacks/SignatureCallbacks.java
// public interface SignatureCallbacks {
//     void onSignatureStarted();
// 
//     void onSignatureCleared();
// }


// Path: backbone/src/main/java/org/researchstack/backbone/ui/views/SignatureView.java
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.CornerPathEffect;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.Point;
import android.graphics.Rect;
import android.graphics.RectF;
import android.graphics.drawable.shapes.PathShape;
import android.os.Parcel;
import android.os.Parcelable;
import android.support.v4.view.ViewCompat;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
import org.researchstack.backbone.R;
import org.researchstack.backbone.ui.callbacks.SignatureCallbacks;
import java.util.ArrayList;
import java.util.List;

package org.researchstack.backbone.ui.views;




/**
 * Note: For save-state to work, the view MUST have an ID
 */
public class SignatureView extends View {

    private static final boolean DEBUG = false;
    private static final String TAG = SignatureView.class.getSimpleName();

    private SignatureCallbacks callbacks;