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
Inherited By:

Esri::ArcGISRuntime::KmlIconStyle, Esri::ArcGISRuntime::KmlLabelStyle, Esri::ArcGISRuntime::KmlLineStyle, and Esri::ArcGISRuntime::KmlPolygonStyle

Public Functions

~KmlColorStyle()
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

KmlColorStyle::~KmlColorStyle()

Destructor.

QColor KmlColorStyle::color() const

Returns this KmlColorStyle's color.

See also setColor().

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(KmlColorMode colorMode)

Sets this KmlColorStyle's color mode.

colorMode New value for color mode

See also colorMode().


Feedback on this topic?