Skip To Content ArcGIS for Developers Sign In Dashboard

KmlStyle Class

(Esri::ArcGISRuntime::KmlStyle)

Specifies the drawing style for a KmlNode. More...

Header: #include <KmlStyle>
Since: Esri::ArcGISRuntime 100.7
Inherits: Object

Public Functions

KmlStyle(QObject *parent = nullptr)
~KmlStyle()
KmlIconStyle *iconStyle()
KmlLabelStyle *labelStyle()
KmlLineStyle *lineStyle()
KmlPolygonStyle *polygonStyle()
void setIconStyle(KmlIconStyle *iconStyle)
void setLabelStyle(KmlLabelStyle *labelStyle)
void setLineStyle(KmlLineStyle *lineStyle)
void setPolygonStyle(KmlPolygonStyle *polygonStyle)
  • 31 public functions inherited from QObject

Additional Inherited Members

Detailed Description

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.

Member Function Documentation

KmlStyle::KmlStyle(QObject *parent = nullptr)

Creates a KML style. Substyles can be modified.

parent Parent object.

KmlStyle::~KmlStyle()

Destructor.

KmlIconStyle *KmlStyle::iconStyle()

Specifies how icons for point Placemarks are drawn.

See also setIconStyle().

KmlLabelStyle *KmlStyle::labelStyle()

Specifies how Placemark labels are drawn.

See also setLabelStyle().

KmlLineStyle *KmlStyle::lineStyle()

Specifies the drawing style for all lines.

See also setLineStyle().

KmlPolygonStyle *KmlStyle::polygonStyle()

Specifies the drawing style for polygons.

See also setPolygonStyle().

void KmlStyle::setIconStyle(KmlIconStyle *iconStyle)

iconStyle will set how icons for point Placemarks are drawn.

See also iconStyle().

void KmlStyle::setLabelStyle(KmlLabelStyle *labelStyle)

labelStyle will set how point Placemarks are drawn.

See also labelStyle().

void KmlStyle::setLineStyle(KmlLineStyle *lineStyle)

lineStyle will specify the drawing style for all lines.

See also lineStyle().

void KmlStyle::setPolygonStyle(KmlPolygonStyle *polygonStyle)

polygonStyle will specify the drawing style for polygons.

See also polygonStyle().


Feedback on this topic?