CartoType C++ API 7.8.2, 2022-03-25
for Windows, Linux, Qt and other platforms supporting C++ development
|
#include <cartotype_graphics_context.h>
Public Member Functions | |
TPaint (uint32_t aValue) | |
TPaint (TColor aColor) | |
TPaint (std::shared_ptr< CPaintServer > aPaintServer, int32_t aAlpha=255) | |
bool | IsNull () const |
void | SetBlendColor (const TColor &aBlendColor) |
Public Attributes | |
TColor | iColor |
std::shared_ptr< CPaintServer > | iPaintServer |
A paint source containing a color and an optional pointer to a paint server.
|
inline |
Creates a TPaint object with a specified color.
|
inline |
Creates a TPaint object with a specified paint server and alpha (opacity) value.
|
inline |
Return true if this paint source is null, defined as having a null paint server and a completely transparent color.
|
inline |
Converts the color to night mode or other color blend.
TColor CartoType::TPaint::iColor |
The paint color.
std::shared_ptr<CPaintServer> CartoType::TPaint::iPaintServer |
If non-null, the paint server.