Class KmlLineStyle
Specifies the drawing style (color, color mode, and line width) for KML line geometry.
Implements
System.ComponentModel.INotifyPropertyChanged
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)
Namespace: Esri.ArcGISRuntime.Ogc
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class KmlLineStyle : KmlColorStyle, INotifyPropertyChanged
Remarks
Examples of "line geometry" include polyline placemarks, outlines of outlined polygons, and the "tethers" of extruded KmlPlacemark icons.
Corresponds to a <LineStyle> element in a KML document.
Constructors
Name | Description |
---|---|
KmlLineStyle(Color, Double) | Initializes a new instance of the KmlLineStyle class with specified line color and width. |
Properties
Name | Description |
---|---|
Width | Gets or sets the width of the KML line style, in pixels. Default is 1.0. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.6 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.6 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.6 - 100.15 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 100.15 |
Relevant samples
Create and save KML file: Construct a KML document and save it as a KMZ file.