PaletteGetColor Method

Gets the color entry of this Palette at the specified index.

Definition

Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 8.1.0
C#
public Color32 GetColor(
	int index
)

Parameters

index  Int32
The index of the color entry to be retrieved.

Return Value

Color32
A Color32 instance representing the color entry of the Palette at the specified index.

Exceptions

ArgumentOutOfRangeExceptionindex must be equal to or greater than zero and less Count.

See Also