KmlLabelStyle Class

  • KmlLabelStyle
  • class Esri::ArcGISRuntime::KmlLabelStyle

    A KML label style object. More...

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

    This class was introduced in Esri::ArcGISRuntime 100.7.

    Public Functions

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

    Detailed Description

    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.

    [override virtual] 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().

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.