PALETTEENTRY data type.
More...
Public Member Functions | |
Properties | |
| RGBColour | colour () |
| The colour of this palette entry. | |
| RGBColour | colour (RGBColour c) |
| The colour of this palette entry. | |
Static Public Member Functions | |
Pseudo-Constructors | |
| static PaletteEntry | opCall (RGBColour colour, PC flag=PC.NORMAL) |
| Constructs a new PaletteEntry from an RGBColour. | |
| static PaletteEntry | opCall (ushort index) |
| Constructs a new PaletteEntry with an explicit hardware palette index. | |
Public Attributes | |
| ushort | hardwareIndex |
| The hardware palette index, if the PC.EXPLICIT flag is set. | |
| PALETTEENTRY | pe |
| The palette entry as an API PALETTEENTRY structure. | |
| ubyte | red |
| ubyte | green |
| ubyte | blue |
| PC | flags |
| Flags specifying characteristics of this palette entry. | |
PALETTEENTRY data type.
| static PaletteEntry smjg.libs.sdwf.gdiobject.PaletteEntry.opCall | ( | RGBColour | colour, | |
| PC | flag = PC.NORMAL | |||
| ) | [static] |
Constructs a new PaletteEntry from an RGBColour.
| static PaletteEntry smjg.libs.sdwf.gdiobject.PaletteEntry.opCall | ( | ushort | index | ) | [static] |
Constructs a new PaletteEntry with an explicit hardware palette index.
| index | hardware palette index. |
| RGBColour smjg.libs.sdwf.gdiobject.PaletteEntry.colour | ( | ) |
The colour of this palette entry.
| RGBColour smjg.libs.sdwf.gdiobject.PaletteEntry.colour | ( | RGBColour | c | ) |
The colour of this palette entry.
Flags specifying characteristics of this palette entry.
The hardware palette index, if the PC.EXPLICIT flag is set.
| PALETTEENTRY smjg.libs.sdwf.gdiobject.PaletteEntry.pe |
The palette entry as an API PALETTEENTRY structure.
1.5.4