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.