/** 基本初始化 */
 private void init() {
   if (option == null) {
     throw new RuntimeException("LProgressButtonOption is null");
   }
   startBgPaint = new Paint();
   startBgPaint.setAntiAlias(true);
   startBgPaint.setColor(option.getBtnStartBgColor());
   startPaint = new Paint();
   startPaint.setAntiAlias(true);
   startPaint.setColor(option.getBtnStartTextColor());
   startPaint.setTextAlign(Align.CENTER);
   progressBgPaint = new Paint();
   progressBgPaint.setAntiAlias(true);
   progressBgPaint.setColor(option.getBtnProgressBgColor());
   progressBgPaint.setStyle(Paint.Style.STROKE);
   progressCenterPaint = new Paint();
   progressCenterPaint.setAntiAlias(true);
   progressCenterPaint.setColor(option.getBtnProgressCenterColor());
   progressCenterPaint.setStyle(Paint.Style.FILL);
   progressPaint = new Paint();
   progressPaint.setAntiAlias(true);
   progressPaint.setColor(option.getBtnProgressColor());
   progressPaint.setStyle(Paint.Style.STROKE);
   progressTextPaint = new Paint();
   progressTextPaint.setAntiAlias(true);
   progressTextPaint.setColor(option.getBtnProgressPercentColor());
   progressTextPaint.setTextAlign(Align.CENTER);
   endBgPaint = new Paint();
   endBgPaint.setAntiAlias(true);
   endBgPaint.setColor(option.getBtnEndBgColor());
   endPaint = new Paint();
   endPaint.setAntiAlias(true);
   endPaint.setColor(option.getBtnEndTextColor());
   endPaint.setTextAlign(Align.CENTER);
   errorBgPaint = new Paint();
   errorBgPaint.setAntiAlias(true);
   errorBgPaint.setColor(option.getBtnErrorBgColor());
   errorPaint = new Paint();
   errorPaint.setAntiAlias(true);
   errorPaint.setColor(option.getBtnErrorTextColor());
   errorPaint.setTextAlign(Align.CENTER);
   type = TYPE_START;
   allNum = 0;
   proNum = 0;
 }