java.lang.Object
com.esri.arcgisruntime.ogc.kml.KmlStyle
Specifies the drawing style for a
KmlNode
.
Controls the drawing style for the icon, line, polygon, and/or label or a KMLNode
. A KMLStyle
is made
up of several substyles, including KmlIconStyle
, KmlLineStyle
,
KmlPolygonStyle
, and KmlLabelStyle
.
Not all node types support styling. For example, a KmlTour
node cannot be stylized.
- Since:
- 100.6.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the KML icon style.Gets the KML label style.Gets a KML line style.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.
-
Constructor Details
-
KmlStyle
public KmlStyle()Creates a KML style. Substyles can be modified.- Since:
- 100.6.0
-
-
Method Details
-
setIconStyle
Sets a KML icon style. Specifies how icons for point Placemarks are drawn.- Parameters:
kmlIconStyle
- a KmlIconStyle- Since:
- 100.6.0
- See Also:
-
getIconStyle
Gets the KML icon style.- Returns:
- a KmlIconStyle
- Since:
- 100.6.0
- See Also:
-
setLineStyle
Sets a KML line style. Specifies the drawing style for all lines.- Parameters:
kmlLineStyle
- a KmlLineStyle- Since:
- 100.6.0
- See Also:
-
getLineStyle
Gets a KML line style.- Returns:
- a KmlLineStyle
- Since:
- 100.6.0
- See Also:
-
setLabelStyle
Sets a KML label style. Specifies how Placemark labels are drawn.- Parameters:
kmlLabelStyle
- a KmlLabelStyle- Since:
- 100.6.0
- See Also:
-
getLabelStyle
Gets the KML label style.- Returns:
- a KmlLabelStyle
- Since:
- 100.6.0
- See Also:
-
setPolygonStyle
Sets the KML polygon style. Specifies the drawing style for polygons.- Parameters:
kmlPolygonStyle
- a KmlPolygonStyle- Since:
- 100.6.0
- See Also:
-
getPolygonStyle
Gets the KML polygon style.- Returns:
- a KmlPolygonStyle
- Since:
- 100.6.0
- See Also:
-