CartoType C++ API 8.8-7-gb35e4dc71
for Windows, Linux, Qt and other platforms supporting C++ development
Public Member Functions | Public Attributes | List of all members
CartoTypeCore::BlendStyle Class Reference

#include <cartotype_color.h>

Public Member Functions

bool operator== (const BlendStyle &aOther) const
 
bool operator!= (const BlendStyle &aOther) const
 

Public Attributes

String Styles
 
Color MainColor = KTransparentBlack
 
Color BorderColor = KTransparentBlack
 
Color TextColor = KTransparentBlack
 
Color TextGlowColor = KTransparentBlack
 
Color IconColor = KTransparentBlack
 

Detailed Description

A rule to modify a certain style or styles. The colors are blended with colors in a style, using their alpha values as the blend fraction.

Member Function Documentation

◆ operator!=()

bool CartoTypeCore::BlendStyle::operator!= ( const BlendStyle aOther) const
inline

The inequality operator.

◆ operator==()

bool CartoTypeCore::BlendStyle::operator== ( const BlendStyle aOther) const
inline

The equality operator.

Member Data Documentation

◆ BorderColor

Color CartoTypeCore::BlendStyle::BorderColor = KTransparentBlack

If not null, the color to be blended with border colors.

◆ IconColor

Color CartoTypeCore::BlendStyle::IconColor = KTransparentBlack

If not null, the forced color for icons.

◆ MainColor

Color CartoTypeCore::BlendStyle::MainColor = KTransparentBlack

The color to be blended with the colors in the style.

◆ Styles

String CartoTypeCore::BlendStyle::Styles

A space or comma separated list of wild-card style names. The special name '[legend]' is used for the legend, scale, copyright notice and turn instructions.

◆ TextColor

Color CartoTypeCore::BlendStyle::TextColor = KTransparentBlack

If not null, the color to be blended with text colors.

◆ TextGlowColor

Color CartoTypeCore::BlendStyle::TextGlowColor = KTransparentBlack

If not null, the color to be blended with text glow colors.


The documentation for this class was generated from the following file: