KmlColorStyle Class

  • KmlColorStyle
  • class Esri::ArcGISRuntime::KmlColorStyle

    KmlColorStyle defines how KmlNode will appear based on the specified color and colorMode properties. More...

    This class was introduced in Esri::ArcGISRuntime 100.6.

    Public Functions

    virtual ~KmlColorStyle() override
    QColor color() const
    Esri::ArcGISRuntime::KmlColorMode colorMode() const
    void setColor(const QColor &color)
    void setColorMode(Esri::ArcGISRuntime::KmlColorMode colorMode)

    Detailed Description

    Note: For KmlIcon objects, the Color that is specified is blended with the existing color of the base image. Due to this blending effect, to have the exact color appear that was specified by the Color property, it is recommended that the base image be white. Also note that, because Color defaults to white, the Color property of KmlIcon will result in the original color of the base image.

    Member Function Documentation

    [override virtual] KmlColorStyle::~KmlColorStyle()

    Destructor.

    QColor KmlColorStyle::color() const

    Returns this KmlColorStyle's color.

    See also setColor().

    Esri::ArcGISRuntime::KmlColorMode KmlColorStyle::colorMode() const

    Returns this KmlColorStyle's color mode.

    See also setColorMode().

    void KmlColorStyle::setColor(const QColor &color)

    Sets this KmlColorStyle's color.

    color New value for color.

    See also color().

    void KmlColorStyle::setColorMode(Esri::ArcGISRuntime::KmlColorMode colorMode)

    Sets this KmlColorStyle's color mode.

    colorMode New value for color mode

    See also colorMode().

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

    You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

    Your ArcGIS portal

    Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

    Your ArcGIS Location Platform dashboard

    Manage billing, monitor service usage, and access additional resources.

    Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

    Close