GMSMutableFeatureStyle 类参考

GMSMutableFeatureStyle 类参考

概览

GMSFeatureStyle 的可变版本。

继承 GMSFeatureStyle

公共成员函数

(instancetype)- initWithFillColor:strokeColor:strokeWidth:
 初始化新样式。
(instancetype)- init
(GMSFeatureStyle *)- 复制
 返回此样式的副本。
(GMSMutableFeatureStyle *)- mutableCopy
 返回此样式的可变副本。

静态公共成员函数

(instancetype)+ 样式
 创建一个新的可变样式。
(instancetype)+ styleWithFillColor:strokeColor:strokeWidth:
 创建新的样式。

属性

UIColor * fillColor
UIColor * strokeColor
CGFloatstrokeWidth
CGFloatpointRadius

成员函数文档

+(instancetype)样式

创建一个新的可变样式。

+ (instancetype) styleWithFillColor: (nullable UIColor *)  fillColor
strokeColor: (nullable UIColor *)  strokeColor
strokeWidth: (CGFloat) strokeWidth

创建新的样式。

- (instancetype) initWithFillColor: (nullable UIColor *)  fillColor
strokeColor: (nullable UIColor *)  strokeColor
strokeWidth: (CGFloat) strokeWidth

初始化新样式。

-(实例类型)init

返回此样式的副本。

返回此样式的可变副本。


属性说明

- (UIColor*) fillColor [read, write, copy]

实现 GMSFeatureStyle

- (UIColor*) strokeColor [read, write, copy]

实现 GMSFeatureStyle

- (CGFloat) strokeWidth [read, write, assign]

实现 GMSFeatureStyle

- (CGFloat) pointRadius [read, write, assign]

实现 GMSFeatureStyle