AI-generated Key Takeaways
-
GMSMutableFeatureStyleis a mutable version ofGMSFeatureStyle, allowing for modifications to its properties. -
It provides properties to customize the fill color (
fillColor), stroke color (strokeColor), stroke width (strokeWidth), and point radius (pointRadius) of features. -
You can create a new mutable style instance using the
+stylemethod.
GMSMutableFeatureStyle
@interface GMSMutableFeatureStyle : GMSFeatureStyleMutable version of GMSFeatureStyle.
-
Declaration
Swift
@NSCopying var fillColor: UIColor? { get set }Objective-C
@property(nonatomic, readwrite, copy, nullable) UIColor *fillColor -
Declaration
Swift
@NSCopying var strokeColor: UIColor? { get set }Objective-C
@property(nonatomic, readwrite, copy, nullable) UIColor *strokeColor -
Declaration
Swift
var strokeWidth: CGFloat { get set }Objective-C
@property(nonatomic, readwrite) CGFloat strokeWidth -
Declaration
Swift
var pointRadius: CGFloat { get set }Objective-C
@property(nonatomic, readwrite) CGFloat pointRadius -
Creates a new mutable style.
Declaration
Objective-C
+ (nonnull instancetype)style;