;

KmlStyle Class

  • KmlStyle
  • class Esri::ArcGISRuntime::KmlStyle

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

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

    This class was introduced in Esri::ArcGISRuntime 100.7.

    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

    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().

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