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.
33 lines
893 B
33 lines
893 B
// |
|
// MAMultiTexturePolylineRenderer.h |
|
// MapKit_static |
|
// |
|
// Created by yi chen on 12/11/15. |
|
// Copyright © 2016 Amap. All rights reserved. |
|
// |
|
|
|
#import "MAConfig.h" |
|
#if MA_INCLUDE_OVERLAY_MAMultiPolyline |
|
|
|
#import "MAPolylineRenderer.h" |
|
#import "MAMultiPolyline.h" |
|
|
|
///此类用于绘制MAMultiPolyline对应的多彩线,支持分段纹理绘制 |
|
@interface MAMultiTexturePolylineRenderer : MAPolylineRenderer |
|
|
|
///关联的MAMultiPolyline model |
|
@property (nonatomic, readonly) MAMultiPolyline *multiPolyline; |
|
|
|
///分段纹理图片数组, 支持非PowerOfTwo图片 |
|
@property (nonatomic, strong) NSArray<UIImage*> *strokeTextureImages; |
|
|
|
/** |
|
* @brief 根据指定的MAMultiPolyline生成一个多段线Renderer |
|
* @param multiPolyline 指定MAMultiPolyline |
|
* @return 新生成的多段线Renderer |
|
*/ |
|
- (instancetype)initWithMultiPolyline:(MAMultiPolyline *)multiPolyline; |
|
|
|
@end |
|
|
|
#endif
|
|
|