Show / Hide Table of Contents

Class KmlPolygonStyle

Specifies the drawing style for all polygon geometry.

Inheritance
System.Object
KmlColorStyle
KmlPolygonStyle
Implements
System.ComponentModel.INotifyPropertyChanged
KmlColorStyle.Color
KmlColorStyle.ColorMode
KmlColorStyle.PropertyChanged
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Esri.ArcGISRuntime.Ogc
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class KmlPolygonStyle : KmlColorStyle, INotifyPropertyChanged
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(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 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.6 - 200.7
Xamarin.Android100.6 - 100.15
Xamarin.iOS100.6 - 100.15
UWP100.6 - 200.7

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.