Skip To Content ArcGIS for Developers Sign In Dashboard

KmlColorStyle Class

(Esri::ArcGISRuntime::KmlColorStyle)

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

Header: #include <KmlColorStyle>
Since: Esri::ArcGISRuntime 100.6
Inherits: Object

Public Functions

QColor color() const
KmlColorMode colorMode() const
void setColor(const QColor &color)
void setColorMode(KmlColorMode colorMode)
  • 31 public functions inherited from QObject

Additional Inherited Members

Detailed Description

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

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

QColor KmlColorStyle::color() const

The KmlColorStyle's color.

See also setColor().

KmlColorMode KmlColorStyle::colorMode() const

The KmlColorStyle's color mode.

See also setColorMode().

void KmlColorStyle::setColor(const QColor &color)

The KmlColorStyle's color.

color New value for color.

See also color().

void KmlColorStyle::setColorMode(KmlColorMode colorMode)

The KmlColorStyle's color mode.

colorMode New value for color mode

See also colorMode().


Feedback on this topic?