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)
System.Object.ToString()
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 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.6 - 200.6 |
Xamarin.Android | 100.6 - 100.15 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 200.6 |
Relevant samples
Create and save KML file: Construct a KML document and save it as a KMZ file.