导航:  GdiPlus Classes > Structures >

ColorPalette

上一页返回章节概述下一页

The ColorPalette structure defines an array of colors that make up a color palette. The colors are 32-bit ARGB colors.

 

C++ Syntax

 

typedef struct {

UINT燜lags;

UINT燙ount;

ARGB燛ntries[1];

} ColorPalette;

 

FreeBASIC 语法

 

TYPE ColorPalette

Flags AS UINT

Count AS UINT

Entries(0 TO 1-1) AS ARGB

END TYPE

 

成员

 

Flags

 

Combination of flags from the PaletteFlags enumeration.

 

Count

 

Number of elements in the Entries array.

 

Entries

 

Array of ARGB colors.