KmlColorStyle defines how KmlNode will appear based on the specified color and colorMode properties. More...
Header: | #include <KmlColorStyle.h> |
Since: | Esri::ArcGISRuntime 100.6 |
Inherits: | Esri::ArcGISRuntime::Object |
Inherited By: | Esri::ArcGISRuntime::KmlIconStyle, Esri::ArcGISRuntime::KmlLabelStyle, Esri::ArcGISRuntime::KmlLineStyle, and Esri::ArcGISRuntime::KmlPolygonStyle |
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().