Package com.esri.arcgisruntime.ogc.kml
Class KmlStyle
- java.lang.Object
-
- com.esri.arcgisruntime.ogc.kml.KmlStyle
-
public final class KmlStyle extends java.lang.Object
Specifies the drawing style for aKmlNode
.Controls the drawing style for the icon, line, polygon, and/or label or a
KMLNode
. AKMLStyle
is made up of several substyles, includingKmlIconStyle
,KmlLineStyle
,KmlPolygonStyle
, andKmlLabelStyle
.Not all node types support styling. For example, a
KmlTour
node cannot be stylized.- Since:
- 100.6.0
-
-
Constructor Summary
Constructors Constructor Description KmlStyle()
Creates a KML style.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KmlIconStyle
getIconStyle()
Gets the KML icon style.KmlLabelStyle
getLabelStyle()
Gets the KML label style.KmlLineStyle
getLineStyle()
Gets a KML line style.KmlPolygonStyle
getPolygonStyle()
Gets the KML polygon style.void
setIconStyle(KmlIconStyle kmlIconStyle)
Sets a KML icon style.void
setLabelStyle(KmlLabelStyle kmlLabelStyle)
Sets a KML label style.void
setLineStyle(KmlLineStyle kmlLineStyle)
Sets a KML line style.void
setPolygonStyle(KmlPolygonStyle kmlPolygonStyle)
Sets the KML polygon style.
-
-
-
Method Detail
-
setIconStyle
public void setIconStyle(KmlIconStyle kmlIconStyle)
Sets a KML icon style. Specifies how icons for point Placemarks are drawn.- Parameters:
kmlIconStyle
- a KmlIconStyle- Since:
- 100.6.0
- See Also:
getIconStyle()
-
getIconStyle
public KmlIconStyle getIconStyle()
Gets the KML icon style.- Returns:
- a KmlIconStyle
- Since:
- 100.6.0
- See Also:
setIconStyle(KmlIconStyle)
-
setLineStyle
public void setLineStyle(KmlLineStyle kmlLineStyle)
Sets a KML line style. Specifies the drawing style for all lines.- Parameters:
kmlLineStyle
- a KmlLineStyle- Since:
- 100.6.0
- See Also:
getLineStyle()
-
getLineStyle
public KmlLineStyle getLineStyle()
Gets a KML line style.- Returns:
- a KmlLineStyle
- Since:
- 100.6.0
- See Also:
setLineStyle(KmlLineStyle)
-
setLabelStyle
public void setLabelStyle(KmlLabelStyle kmlLabelStyle)
Sets a KML label style. Specifies how Placemark labels are drawn.- Parameters:
kmlLabelStyle
- a KmlLabelStyle- Since:
- 100.6.0
- See Also:
getLabelStyle()
-
getLabelStyle
public KmlLabelStyle getLabelStyle()
Gets the KML label style.- Returns:
- a KmlLabelStyle
- Since:
- 100.6.0
- See Also:
setLabelStyle(KmlLabelStyle)
-
setPolygonStyle
public void setPolygonStyle(KmlPolygonStyle kmlPolygonStyle)
Sets the KML polygon style. Specifies the drawing style for polygons.- Parameters:
kmlPolygonStyle
- a KmlPolygonStyle- Since:
- 100.6.0
- See Also:
getPolygonStyle()
-
getPolygonStyle
public KmlPolygonStyle getPolygonStyle()
Gets the KML polygon style.- Returns:
- a KmlPolygonStyle
- Since:
- 100.6.0
- See Also:
setPolygonStyle(KmlPolygonStyle)
-
-