java.lang.Object
com.esri.arcgisruntime.ogc.kml.KmlColorStyle
com.esri.arcgisruntime.ogc.kml.KmlLineStyle
Specifies the drawing style (color, color mode, and line width) for all line geometry. Line geometry includes the outlines
 of outlined polygons and the extruded "tether" of Placemark icons (if extrusion is enabled).
- Since:
- 100.6.0
- 
Property SummaryProperties inherited from class com.esri.arcgisruntime.ogc.kml.KmlColorStylecolor
- 
Constructor SummaryConstructorsConstructorDescriptionKmlLineStyle(int color, double width) Deprecated, for removal: This API element is subject to removal in a future version.KmlLineStyle(Color lineColor, double width) Constructs a KmlLineStyle with the specified color and width.
- 
Method SummaryMethods inherited from class com.esri.arcgisruntime.ogc.kml.KmlColorStylecolorProperty, getColor, getColorMode, setColor, setColor, setColorMode
- 
Constructor Details- 
KmlLineStyleConstructs a KmlLineStyle with the specified color and width.- Parameters:
- lineColor- color of the line style. Default is- Color.WHITE.
- width- width of the line style, in pixels. Default is 1.0.
- Throws:
- IllegalArgumentException- if lineColor is null
- IllegalArgumentException- if width is negative
- Since:
- 200.0.0
 
- 
KmlLineStyleDeprecated, for removal: This API element is subject to removal in a future version.as of 200.0.0, replaced byKmlLineStyle(Color, double)Constructs a KmlLineStyle with the specified color and width.- Parameters:
- color- color of the line style in 0xAARRGGBB format. Default is 0xFFFFFFFF.
- width- width of the line style, in pixels. Default is 1.0.
- Throws:
- IllegalArgumentException- if width is negative
- Since:
- 100.6.0
 
 
- 
- 
Method Details- 
getWidthpublic double getWidth()Gets the width of the KML line style, in pixels. Default is 1.0.- Returns:
- the width of the KML line style
- Since:
- 100.6.0
 
- 
setWidthpublic void setWidth(double width) Sets the width of the KML line style.- Parameters:
- width- the width of the KML line style
- Throws:
- IllegalArgumentException- if width is negative
- Since:
- 100.6.0
 
 
- 
KmlLineStyle(Color, double)