PolygonOverlayOptions
public class PolygonOverlayOptions : AnnotationOptions
Options for creating a PolygonOverlay
.
Important
This is a Public Preview API. It may be changed or removed at any time.Represents an enumeration of color
(UIColor
) and colorForScene
([SceneLevel: UIColor]
).
It is used to group color information for a given annotation.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum Color : Equatable
Creates an instance of PolygonOverlayOptions
.
Declaration
Swift
public init(outerColor: Color, innerPolygonOptions: InnerPolygonOptions)
Parameters
outerColor
|
Specifies the color that is used to fill the outer area of the polygon. |
innerPolygonOptions
|
Specifies the inner polygon options, such as fill color, coordinates, and nested polygon options for multiple nested polygons. |
Specifies the inner polygon options, such as fill color, coordinates, and nested polygon options for multiple nested polygons.
Declaration
Swift
public let innerPolygonOptions: InnerPolygonOptions
Specifies the color that is used to fill the outer area of the polygon.
Declaration
Swift
public let outerColor: Color