Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Description

Replaces the color at the specified index with a new color.

C#
vb.net

Parameters

index
The 0-based index of the color to modify. Must be between 0 and 55.
red
The red component of the desired color. Must be between 0 and 255.
green
The green component of the desired color. Must be between 0 and 255.
blue
The blue component of the desired color. Must be between 0 and 255.

Returns

A Color object representing the new color at the specified index in the palette.

Examples

C#
vb.net
  • No labels