Show / Hide Table of Contents

Class KmlPolygonStyle

Specifies the drawing style for all polygon geometry.

Inheritance
System.Object
KmlColorStyle
KmlPolygonStyle
KmlColorStyle.Color
KmlColorStyle.ColorMode
KmlColorStyle.PropertyChanged
Namespace: Esri.ArcGISRuntime.Ogc
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class KmlPolygonStyle : KmlColorStyle
Remarks

Examples of "polygon geometry" include polygon KmlPlacemark, polygon extrusions (which look like the walls of buildings), and line extrusions (which look like solid fences).

Controls how the <fill> of a KmlNode is displayed and whether or not the <outline> of a KmlNode is displayed. If the outline is displayed, then the outline will use the current KmlLineStyle. Corresponds to a <PolyStyle> element in a KML document.

Constructors

Name Description
KmlPolygonStyle(Drawing.Color)

Initializes a new instance of the KmlPolygonStyle class with specified fill color. Default is RGBA(255,255,255,255).

Properties

Name Description
IsFilled

Gets or sets a value indicating whether or not to display the polygon with a filled symbol. Default is true.

IsOutlined

Gets or sets a value indicating whether or not display the polygon with an outline symbol. Default is true.

Applies to

TargetVersions
.NET Standard 2.0100.6 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.6 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.6 - 100.15
Xamarin.iOS100.6 - 100.15
UWP100.6 - 100.15

Relevant samples

Create and save KML file: Construct a KML document and save it as a KMZ file.
In This Article
Back to top Copyright © 2022 Esri.