You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
623 B
30 lines
623 B
// |
|
// MAArcRenderer.h |
|
// MAMapKit |
|
// |
|
// Created by liubo on 2018/4/10. |
|
// Copyright © 2018年 Amap. All rights reserved. |
|
// |
|
|
|
#import "MAConfig.h" |
|
#if MA_INCLUDE_OVERLAY_ARC |
|
|
|
#import "MAArc.h" |
|
#import "MAOverlayPathRenderer.h" |
|
|
|
///此类用于绘制MAArc,可以通过MAOverlayPathRenderer修改其stroke attributes |
|
@interface MAArcRenderer : MAOverlayPathRenderer |
|
|
|
///关联的MAArc model |
|
@property (nonatomic, readonly) MAArc *arc; |
|
|
|
/** |
|
* @brief 根据指定的MAArc生成一个圆弧Renderer |
|
* @param arc 指定MAArc |
|
* @return 新生成的圆弧Renderer |
|
*/ |
|
- (instancetype)initWithArc:(MAArc *)arc; |
|
|
|
@end |
|
|
|
#endif
|
|
|