Skip To Content ArcGIS for Developers Sign In Dashboard

KmlLabelStyle Class

(Esri::ArcGISRuntime::KmlLabelStyle)

A KML label style object. More...

Header: #include <KmlLabelStyle>
Since: Esri::ArcGISRuntime 100.7
Inherits: KmlColorStyle

Public Functions

KmlLabelStyle(const QColor &labelColor, double scale, QObject *parent = nullptr)
~KmlLabelStyle()
double scale() const
void setScale(double scale)

Additional Inherited Members

Detailed Description

A KML label style object.

Controls how the name of a KmlNode is displayed. Corresponds to a KmlLabelStyle in a KML document. Controls the color and scale of the name label.

Member Function Documentation

KmlLabelStyle::KmlLabelStyle(const QColor &labelColor, double scale, QObject *parent = nullptr)

*

Creates a KML label style with the specified color and scale. * *

  • labelColor Color of the label. Default is RGBA(255,255,255,255)
  • scale Scale of the label. Default is 1.0
  • parent Parent object of label style.

KmlLabelStyle::~KmlLabelStyle()

Destructor

double KmlLabelStyle::scale() const

Returns the KmlLabelStyle's scale.

See also setScale().

void KmlLabelStyle::setScale(double scale)

Sets the KmlLabelStyle's scale.

  • scale New value for scale.

See also scale().


Feedback on this topic?