HSTCusPolyline.h 963 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // HSTCusPolyline.h
  3. // HiSports
  4. //
  5. // Created by duowan123 on 2021/3/16.
  6. // Copyright © 2021 com.ouj. All rights reserved.
  7. //
  8. #import <MAMapKit/MAMapKit.h>
  9. //最新表盘排序样式
  10. typedef enum : NSInteger{
  11. CustomPolylineType_s = 0, //慢
  12. CustomPolylineType_o, //普通
  13. CustomPolylineType_f, //快
  14. }CustomPolylineType;
  15. @interface HSTCusPolyline : MAMultiPolyline//渐变配套的类型.简单样式使用MAPolyline
  16. /**
  17. 自定义线条类型
  18. */
  19. @property (nonatomic, assign) CustomPolylineType polyLineType;
  20. @property (nonatomic, assign) CGFloat colorValue;//颜色值
  21. @property (nonatomic, strong) NSMutableArray * colorsArr;//颜色值
  22. /// 虚线类型
  23. @property (nonatomic, assign) MALineDashType dashLineType;
  24. /// 连接点类型
  25. @property (nonatomic, assign) MALineJoinType joinType;
  26. /// 线头类型
  27. @property (nonatomic, assign) MALineCapType capType;
  28. @property (nonatomic, assign) CGFloat lineWidth;
  29. @end