|
BaiduMap_IOSSDK_v6.5.2_Docs
6.5.2
|
此类用于定义一个颜色渐变线 since 6.4.0 更多...
#import <BMKGradientLine.h>
构造函数 | |
| (BOOL) | - setGradientLineWithPoints:count:drawIndexs: |
| (BOOL) | - setGradientLineWithCoordinates:count:drawIndexs: |
构造函数 继承自 BMKMultiPolyline | |
| (BOOL) | - setMultiPolylineWithPoints:count:drawIndexs: |
| (BOOL) | - setMultiPolylineWithCoordinates:count:drawIndexs: |
构造函数 继承自 BMKPolyline | |
| (BOOL) | - setPolylineWithPoints:count: |
| (BOOL) | - setPolylineWithCoordinates:count: |
| (NSArray< NSNumber * > *textureIndex) | - __deprecated_msg |
| 颜色/纹理索引数组 更多... | |
| (BOOL) | - setPolylineWithPoints:count:textureIndex: |
| (BOOL) | - setPolylineWithCoordinates:count:textureIndex: |
构造函数 继承自 BMKMultiPoint | |
| (void) | - getCoordinates:range: |
构造函数 继承自 <BMKAnnotation> | |
| (NSString *) | - title |
| 获取annotation标题 更多... | |
| (NSString *) | - subtitle |
| 获取annotation副标题 更多... | |
| (void) | - setCoordinate: |
构造函数 继承自 <BMKOverlay> | |
| (BOOL) | - intersectsMapRect: |
类方法 | |
| (nullable instancetype) | + gradientLineWithPoints:count:drawIndexs: |
| (nullable instancetype) | + gradientLineWithCoordinates:count:drawIndexs: |
类方法 继承自 BMKMultiPolyline | |
| (nullable instancetype) | + multiPolylineWithPoints:count:drawIndexs: |
| (nullable instancetype) | + multiPolylineWithCoordinates:count:drawIndexs: |
类方法 继承自 BMKPolyline | |
| (nullable instancetype) | + polylineWithPoints:count: |
| (nullable instancetype) | + polylineWithCoordinates:count: |
| (nullable instancetype) | + polylineWithPoints:count:textureIndex: |
| (nullable instancetype) | + polylineWithCoordinates:count:textureIndex: |
额外继承的成员函数 | |
Protected 属性 继承自 BMKMultiPoint | |
| package BMKMapPoint * | _points |
| NSUInteger | _pointCount |
| BMKMapRect | _boundingRect |
属性 继承自 BMKMultiPolyline | |
| NSArray< NSNumber * > * | drawIndexs |
| 颜色/纹理索引数组 更多... | |
属性 继承自 BMKPolyline | |
| BOOL | isThined |
| BMKLineDirectionCross180Type | lineDirectionCross180 |
属性 继承自 BMKMultiPoint | |
| BMKMapPoint * | points |
| 坐标点数组 更多... | |
| NSUInteger | pointCount |
| 坐标点的个数 更多... | |
属性 继承自 BMKShape | |
| NSString * | title |
| 要显示的标题;注意:如果不设置title,无法点击annotation,也无法使用回调函数; 更多... | |
| NSString * | subtitle |
| 要显示的副标题 更多... | |
属性 继承自 <BMKAnnotation> | |
| CLLocationCoordinate2D | coordinate |
| 标注view中心坐标. 更多... | |
属性 继承自 <BMKOverlay> | |
| CLLocationCoordinate2D | coordinate |
| 返回区域中心坐标. 更多... | |
| BMKMapRect | boundingMapRect |
| 返回区域外接矩形 更多... | |
此类用于定义一个颜色渐变线 since 6.4.0
| + (nullable instancetype) gradientLineWithCoordinates: | (CLLocationCoordinate2D *) | coords | |
| count: | (NSUInteger) | count | |
| drawIndexs: | (gradient(coordinates:count:drawIndexs:)) | NS_SWIFT_NAME | |
根据指定坐标点生成一段颜色渐变线 分段颜色绘制:其对应的BMKGradientLineView必须设置strokeColors属性
| coords | 指定的经纬度坐标点数组 |
| count | coords数组中坐标点的个数 |
| drawIndexs | 颜色索引数组,成员为NSNumber,且为非负数,负数按0处理 |
| + (nullable instancetype) gradientLineWithPoints: | (BMKMapPoint *) | points | |
| count: | (NSUInteger) | count | |
| drawIndexs: | (gradient(potins:count:drawIndexs:)) | NS_SWIFT_NAME | |
分段颜色绘制,根据指定坐标点生成一段颜色渐变线 分段颜色绘制:其对应的BMKGradientLineView必须设置strokeColors属性
| points | 指定的直角坐标点数组 |
| count | points数组中坐标点的个数 |
| drawIndexs | 颜色索引数组,成员为NSNumber,且为非负数,负数按0处理 |
| - (BOOL) setGradientLineWithCoordinates: | (CLLocationCoordinate2D *) | coords | |
| count: | (NSUInteger) | count | |
| drawIndexs: | (NSArray< NSNumber * > *) | drawIndexs | |
重新设置颜色渐变线坐标点
| coords | 指定的经纬度坐标点数组 |
| count | coords数组中坐标点的个数 |
| drawIndexs | 颜色索引数组,成员为NSNumber,且为非负数,负数按0处理 |
| - (BOOL) setGradientLineWithPoints: | (BMKMapPoint *) | points | |
| count: | (NSUInteger) | count | |
| drawIndexs: | (NSArray< NSNumber * > *) | drawIndexs | |
重新设置颜色渐变线坐标点
| points | 指定的直角坐标点数组 |
| count | points数组中坐标点的个数 |
| drawIndexs | 颜色索引数组,成员为NSNumber,且为非负数,负数按0处理 |