# GoogleMaps Framework Reference

# GMSFeatureStyle


    @interface GMSFeatureStyle : NSObject <NSCopying, NSMutableCopying>

Specifies how a map feature should appear when displayed on a map.
- `


  ### [+styleWithFillColor:strokeColor:strokeWidth:](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSFeatureStyle#/c:objc(cs)GMSFeatureStyle(cm)styleWithFillColor:strokeColor:strokeWidth:)


  ` Creates a new style.

  #### Declaration

  Objective-C

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

- `


  ### [-initWithFillColor:strokeColor:strokeWidth:](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSFeatureStyle#/c:objc(cs)GMSFeatureStyle(im)initWithFillColor:strokeColor:strokeWidth:)


  ` Initializes a new style.

  #### Declaration

  Swift

      init(fill fillColor: UIColor?, stroke strokeColor: UIColor?, strokeWidth: CGFloat)

  Objective-C

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

- `


  ### [-init](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSFeatureStyle#/c:objc(cs)GMSFeatureStyle(im)init)


  ` Initializes a default style.

  #### Declaration

  Swift

      init()

  Objective-C

      - (nonnull instancetype)init;

- `


  ### [fillColor](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSFeatureStyle#/c:objc(cs)GMSFeatureStyle(py)fillColor)


  ` Specifies the fill color, including the alpha channel.

  #### Declaration

  Swift

      @NSCopying var fillColor: UIColor? { get }

  Objective-C

      @property (nonatomic, copy, readonly, nullable) UIColor *fillColor;

- `


  ### [strokeColor](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSFeatureStyle#/c:objc(cs)GMSFeatureStyle(py)strokeColor)


  ` Specifies the border color, including the alpha channel.

  #### Declaration

  Swift

      @NSCopying var strokeColor: UIColor? { get }

  Objective-C

      @property (nonatomic, copy, readonly, nullable) UIColor *strokeColor;

- `


  ### [strokeWidth](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSFeatureStyle#/c:objc(cs)GMSFeatureStyle(py)strokeWidth)


  ` Specifies the border width, in screen points.

  #### Declaration

  Swift

      var strokeWidth: CGFloat { get }

  Objective-C

      @property (nonatomic, readonly) CGFloat strokeWidth;

- `


  ### [pointRadius](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSFeatureStyle#/c:objc(cs)GMSFeatureStyle(py)pointRadius)


  ` Specifies the radius of a point. Only applies to point geometries.

  #### Declaration

  Swift

      var pointRadius: CGFloat { get }

  Objective-C

      @property (nonatomic, readonly) CGFloat pointRadius;

- `


  ### [-copy](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSFeatureStyle#/c:objc(cs)GMSFeatureStyle(im)copy)


  `

  #### Declaration

  Swift

      func copy() -> FeatureStyle

  Objective-C

      - (GMSFeatureStyle *)copy;

- `


  ### [-mutableCopy](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSFeatureStyle#/c:objc(cs)GMSFeatureStyle(im)mutableCopy)


  `

  #### Declaration

  Swift

      func mutableCopy() -> MutableFeatureStyle

  Objective-C

      - (https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSMutableFeatureStyle.html *)mutableCopy;