LBXScanViewStyle.m 919 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //
  2. // LBXScanViewStyle.m
  3. //
  4. //
  5. // Created by lbxia on 15/11/15.
  6. // Copyright © 2015年 lbxia. All rights reserved.
  7. //
  8. #import "LBXScanViewStyle.h"
  9. @implementation LBXScanViewStyle
  10. - (id)init
  11. {
  12. if (self = [super init])
  13. {
  14. _isNeedShowRetangle = YES;
  15. _whRatio = 1.0;
  16. _colorRetangleLine = [UIColor whiteColor];
  17. _centerUpOffset = 44;
  18. _xScanRetangleOffset = 60;
  19. _anmiationStyle = LBXScanViewAnimationStyle_LineMove;
  20. _photoframeAngleStyle = LBXScanViewPhotoframeAngleStyle_Outer;
  21. _colorAngle = [UIColor colorWithRed:0. green:167./255. blue:231./255. alpha:1.0];
  22. _notRecoginitonArea = [UIColor colorWithRed:0. green:.0 blue:.0 alpha:.5];
  23. _photoframeAngleW = 24;
  24. _photoframeAngleH = 24;
  25. _photoframeLineW = 7;
  26. }
  27. return self;
  28. }
  29. @end