Specifies the drawing style for a KmlNode. More...
| Header | #include <Kml |
| Since | Esri |
| Inherits | Esri |
This class was introduced in Esri::ArcGISRuntime 100.7.
Public Functions
| Kml | |
| virtual | ~ |
| Esri | icon |
| Esri | label |
| Esri | line |
| Esri | polygon |
| void | set |
| void | set |
| void | set |
| void | set |
Detailed Description
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.
Member Function Documentation
KmlStyle::KmlStyle (QObject *parent = nullptr)
Creates a KML style. Substyles can be modified.
parent Parent object.
[override virtual] KmlStyle::~KmlStyle ()
Destructor.
Esri::ArcGISRuntime::KmlIconStyle *KmlStyle::iconStyle ()
Specifies how icons for point Placemarks are drawn.
See also setIconStyle().
Esri::ArcGISRuntime::KmlLabelStyle *KmlStyle::labelStyle ()
Specifies how Placemark labels are drawn.
See also setLabelStyle().
Esri::ArcGISRuntime::KmlLineStyle *KmlStyle::lineStyle ()
Specifies the drawing style for all lines.
See also setLineStyle().
Esri::ArcGISRuntime::KmlPolygonStyle *KmlStyle::polygonStyle ()
Specifies the drawing style for polygons.
See also setPolygonStyle().
void KmlStyle::setIconStyle (Esri::ArcGISRuntime::KmlIconStyle *iconStyle )
iconStyle will set how icons for point Placemarks are drawn.
See also iconStyle().
void KmlStyle::setLabelStyle (Esri::ArcGISRuntime::KmlLabelStyle *labelStyle )
labelStyle will set how point Placemarks are drawn.
See also labelStyle().
void KmlStyle::setLineStyle (Esri::ArcGISRuntime::KmlLineStyle *lineStyle )
lineStyle will specify the drawing style for all lines.
See also lineStyle().
void KmlStyle::setPolygonStyle (Esri::ArcGISRuntime::KmlPolygonStyle *polygonStyle )
polygonStyle will specify the drawing style for polygons.
See also polygonStyle().