|
CartoType .NET API 9.4-2-ga84cea34e
for development in C#, Visual Basic and other .NET languages
|
A color> More...
#include <CartoTypeWrapper.h>
Public Member Functions | |
| Color (int aValue) | |
| Creates a color from an integer value. | |
| Color (int aRed, int aGreen, int aBlue) | |
| Creates a color from red, green, and blue values. | |
| Color (int aRed, int aGreen, int aBlue, int aAlpha) | |
| Creates a color from red, green, blue and alpha values. | |
| Color (String^ aColor) | |
| Creates a color from a string. For the format of the string see the documentation on CartoType style sheets. | |
Static Public Attributes | |
| static const Color | KBlack = Color(0xFF000000) |
| Opaque black. | |
| static const Color | KDarkGray = Color(0xFF555555) |
| Opaque dark gray. | |
| static const Color | KDarkRed = Color(0xFF000080) |
| Opaque dark red. | |
| static const Color | KDarkGreen = Color(0xFF008000) |
| Opaque dark green. | |
| static const Color | KDarkYellow = Color(0xFF008080) |
| Opaque dark yellow. | |
| static const Color | KDarkBlue = Color(0xFF800000) |
| Opaque dark blue. | |
| static const Color | KDarkMagenta = Color(0xFF800080) |
| Opaque dark magenta. | |
| static const Color | KDarkCyan = Color(0xFF808000) |
| Opaque dark cyan. | |
| static const Color | KRed = Color(0xFF0000FF) |
| Opaque red. | |
| static const Color | KGreen = Color(0xFF00FF00) |
| Opaque green. | |
| static const Color | KYellow = Color(0xFF00FFFF) |
| Opaque yellow. | |
| static const Color | KBlue = Color(0xFFFF0000) |
| Opaque blue. | |
| static const Color | KMagenta = Color(0xFFFF00FF) |
| Opaque magenta. | |
| static const Color | KCyan = Color(0xFFFFFF00) |
| Opaque cyan. | |
| static const Color | KGray = Color(0xFFAAAAAA) |
| Opaque gray. | |
| static const Color | KWhite = Color(0xFFFFFFFF) |
| Opaque white. | |
| static const Color | KTransparentBlack = Color(0x00000000) |
| The 'null color' transparent black. | |
A color>
Colors are represented by 32-bit integers containing 8 bits each of red, green, blue and alpha channel (transparency) data.