概览
指定地图项在地图上的显示方式。
公共成员函数 | |
(instancetype) | - initWithFillColor:strokeColor:strokeWidth: |
初始化新样式。 | |
静态公共成员函数 | |
(instancetype) | + styleWithFillColor:strokeColor:strokeWidth: |
创建新的样式。 | |
属性 | |
UIColor * | fillColor |
指定填充颜色,包括 Alpha 通道。 | |
UIColor * | strokeColor |
指定边框颜色,包括 Alpha 通道。 | |
CGFloat | strokeWidth |
指定边框宽度(以屏幕点数为单位)。 |
成员函数文档
+ (instancetype) styleWithFillColor: | (nullable UIColor *) | fillColor | |
strokeColor: | (nullable UIColor *) | strokeColor | |
strokeWidth: | (CGFloat) | strokeWidth | |
创建新的样式。
- (instancetype) initWithFillColor: | (nullable UIColor *) | fillColor | |
strokeColor: | (nullable UIColor *) | strokeColor | |
strokeWidth: | (CGFloat) | strokeWidth | |
初始化新样式。
属性说明
- (UIColor*) fillColor [read, copy] |
指定填充颜色,包括 Alpha 通道。
- (UIColor*) strokeColor [read, copy] |
指定边框颜色,包括 Alpha 通道。
- (CGFloat) strokeWidth [read, assign] |
指定边框宽度(以屏幕点数为单位)。