IndexedColor Members

The IndexedColor type exposes the following members.

Constructors

Name Description
Public method IndexedColor

Initializes a new instance of the IndexedColor class with the specified index in the IndexedColorCollection.

Methods

Name Description
Public method Convert

Converts this color to the specified pixel format.

(Inherited from Color.)
Public method Dispose

Releases all resources used by this Color.

(Inherited from Color.)
Public method Equals

Tests whether the specified object is a Color instance and is equivalent to this Color.

(Inherited from Color.)
Protected method Finalize (Inherited from Color.)
Public method GetCopy (Inherited from Color.)
Public method GetHashCode

Returns a hash code for this Color.

(Inherited from Color.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ScaleAlpha

Scales the alpha channel.

(Inherited from Color.)
Public method ToGdiPlusColor

Gets the System.Drawing.Color containing the same color value as this Color does.

(Inherited from Color.)
Public method ToInt32

Gets a non-extended (8 bit per channel) numeric representation of the Color.

(Inherited from Color.)
Public method ToString

Returns a string that represents the current object.

(Overrides Object.ToString().)

Properties

Name Description
Public property ChannelCount

Gets a number of channels available in this color.

(Inherited from Color.)
Public property ColorSpace

Gets a color space of the color.

(Inherited from Color.)
Public property Index

An index in the IndexedColorCollection, which stores real colors.

Public property IsTransparent

Gets a value indicating whether this color is transparent.

(Inherited from Color.)
Public property Item

Gets a value stored in specified channel of this color.

(Inherited from Color.)
Public property PixelFormat

Gets a pixel format of this color.

(Inherited from Color.)
Public property Profile

Gets or sets a color profile associated with this color.

(Inherited from Color.)

See Also

Reference