GMSFeatureStyle Class Reference


Overview

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

Public Member Functions

(instancetype) - initWithFillColor:strokeColor:strokeWidth:
 Initializes a new style.

Static Public Member Functions

(instancetype) + styleWithFillColor:strokeColor:strokeWidth:
 Creates a new style.

Properties

UIColor * fillColor
 Specifies the fill color, including the alpha channel.
UIColor * strokeColor
 Specifies the border color, including the alpha channel.
CGFloat strokeWidth
 Specifies the border width, in screen points.

Member Function Documentation

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

Creates a new style.

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

Initializes a new style.


Property Documentation

- (UIColor*) fillColor [read, copy]

Specifies the fill color, including the alpha channel.

- (UIColor*) strokeColor [read, copy]

Specifies the border color, including the alpha channel.

- (CGFloat) strokeWidth [read, assign]

Specifies the border width, in screen points.