Specifies how the name of a KmlNode is drawn, including color and scale. More...
Header | #include <Kml |
Since | Esri |
Inherits | Esri |
Public Functions
Kml | |
virtual | ~ |
double | scale() const |
void | set |
Detailed Description
Controls how the <name> of a KmlNode is displayed. Corresponds to a <LabelStyle> 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.
[override virtual noexcept]
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().