package com.feasycom.feasybeacon.ui.utils.yxing.view.base;

import android.animation.ValueAnimator;
import android.content.Context;
import android.graphics.Rect;
import android.util.AttributeSet;
import android.view.View;

import androidx.annotation.Nullable;

/**
 * @author windows
 */
public abstract class BaseScanView extends View {

    protected ValueAnimator valueAnimator;

    public BaseScanView(Context context) {
        super(context);
    }

    public BaseScanView(Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
    }

    public BaseScanView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    public abstract Rect getScanRect();

    public void initAnim() {
    }

    public void startAnim() {
    }

    public void pauseAnim() {
    }

    public void cancelAnim() {
    }
}
