ArcGIS Runtime SDK for iOS: AGSKMLPolygonStyle Class Reference
ArcGIS Runtime SDK for iOS  100.15
AGSKMLPolygonStyle Class Reference

Description

Specifies the drawing style for all polygons in a KML node.

Specifies the drawing style for all polygons, including polygon extrusions (which look like the walls of buildings) and line extrusions (which look like solid fences).

Controls how the fill of an AGSKMLNode is displayed and whether or not the outline of an AGSKMLNode is displayed. If the outline is displayed, the outline will use the current AGSKMLLineStyle. Corresponds to a <PolyStyle> in a KML document.

Since
100.6
Inheritance diagram for AGSKMLPolygonStyle:
AGSKMLColorStyle AGSObject

Instance Methods

(instancetype) - initWithColor:
 

Class Methods

(instancetype) + KMLPolygonStyleWithColor:
 

Properties

AGSColorcolor
 
AGSKMLColorMode colorMode
 
BOOL filled
 
BOOL outlined
 

Method Documentation

◆ initWithColor:

- (instancetype) initWithColor: (AGSColor *)  color

Creates a KML polygon style with a specified fill color.

Parameters
colorThe style's fill color. Default is RGBA(255,255,255,255).
Since
100.6

◆ KMLPolygonStyleWithColor:

+ (instancetype) KMLPolygonStyleWithColor: (AGSColor *)  color

Creates a KML polygon style with a specified fill color.

Parameters
colorThe style's fill color. Default is RGBA(255,255,255,255).
Since
100.6

Property Documentation

◆ color

- (AGSColor*) color
readwritenonatomicstronginherited

The color.

Since
100.6

◆ colorMode

- (AGSKMLColorMode) colorMode
readwritenonatomicassigninherited

The color mode.

Since
100.6

◆ filled

- (BOOL) filled
readwritenonatomicassign

Specifies whether or not to display the polygon with a filled symbol. Default is YES.

Since
100.6

◆ outlined

- (BOOL) outlined
readwritenonatomicassign

Specifies whether or not to display the polygon with an outline symbol using the current AGSKMLLineStyle. Default is YES.

Since
100.6