The
Palette type is used to define the advanced characteristics of a color palette. The characteristics of this palette can be defined and changed using different WLanguage properties.
This type of variable is used by the
Icon type.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see
Declaring a variable.
// Retrieve the first palette color for the first image of an icon
MyIcon is Icon = "MyIcon.ico"
Palette1 is Palette = MyIcon.Palette[1]
Color1 is Color = Palette1[1]
Remarks
Properties specific to the description of Palette variables
The following properties can be used to handle a color palette:
| | |
Property name | Type used | Effect |
---|
Color | Array of Color | Array containing the palette colors. |