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.
27 lines
0 B
27 lines
0 B
1 year ago
|
//
|
||
|
// MACircleRenderer.h
|
||
|
// MAMapKit
|
||
|
//
|
||
|
// Created by yin cai on 11-12-30.
|
||
|
// Copyright © 2016 Amap. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import "MAConfig.h"
|
||
|
#import "MACircle.h"
|
||
|
#import "MAOverlayPathRenderer.h"
|
||
|
|
||
|
///该类是MACircle的显示圆Renderer,可以通过MAOverlayPathRenderer修改其fill和stroke attributes
|
||
|
@interface MACircleRenderer : MAOverlayPathRenderer
|
||
|
|
||
|
///关联的MAcirlce model
|
||
|
@property (nonatomic, readonly) MACircle *circle;
|
||
|
|
||
|
/**
|
||
|
* @brief 根据指定圆生成对应的Renderer
|
||
|
* @param circle 指定的MACircle model
|
||
|
* @return 生成的Renderer
|
||
|
*/
|
||
|
- (instancetype)initWithCircle:(MACircle *)circle;
|
||
|
|
||
|
@end
|