Specifies the drawing style for a KmlNode. More...
Header: | #include <KmlStyle.h> |
Since: | Esri::ArcGISRuntime 100.7 |
Inherits: | Esri::ArcGISRuntime::Object |
Public Functions
KmlStyle(QObject *parent = nullptr) | |
virtual | ~KmlStyle() override |
Esri::ArcGISRuntime::KmlIconStyle * | iconStyle() |
Esri::ArcGISRuntime::KmlLabelStyle * | labelStyle() |
Esri::ArcGISRuntime::KmlLineStyle * | lineStyle() |
Esri::ArcGISRuntime::KmlPolygonStyle * | polygonStyle() |
void | setIconStyle(Esri::ArcGISRuntime::KmlIconStyle *iconStyle) |
void | setLabelStyle(Esri::ArcGISRuntime::KmlLabelStyle *labelStyle) |
void | setLineStyle(Esri::ArcGISRuntime::KmlLineStyle *lineStyle) |
void | setPolygonStyle(Esri::ArcGISRuntime::KmlPolygonStyle *polygonStyle) |
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
[explicit]
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().