[Overview][Constants][Types][Classes][Index] |
Creates a palette object.
Source position: line 0
class function TPTCPaletteFactory.CreateNew: IPTCPalette; |
const AData: array of Uint32 |
):IPTCPalette; |
APalette: IPTCPalette |
):IPTCPalette; |
AData |
|
The palette data. |
APalette |
|
The palette object to copy from. |
Creates a palette object.
When called without arguments, all palette color entries are set to black. When AData is specified, the palette color entries are set to the values in AData. The AData array is an array of r, g, b, a color values packed into a 32-bit integer in the format ARGB8888.