This documentation is for the old version. Go to the latest Graphics Mill docs

RgbColor Methods

The RgbColor type exposes the following members.

Methods

Name Description
Public method Clone

Creates a full copy of this RgbColor object.

Public method ConvertColorSpace

Converts color value to another color space.

(Inherited from Color.)
Public method Equals

Compares this RgbColor with specified object.

(Overrides Object.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetChannel Overloaded.

Gets value stored in specified channel of this color.

Public method GetChannel32 Overloaded.

Gets extended (16-bit) value stored in specified channel of this color.

Public method GetHashCode

Returns a hash code for this RgbColor class.

(Overrides Object.GetHashCode().)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToArray

Returns a byte array that contains all channels of the color (8 bits per channel).

(Inherited from Color.)
Public method ToArray32

Returns an integer numbers array that contains all channels of the color (16 bits per channel).

(Inherited from Color.)
Public method ToGdiplusColor

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

(Overrides Color.ToGdiplusColor().)
Public method ToInt32

Returns non-extended (8 bit per channel) numeric representation of this RgbColor.

(Overrides Color.ToInt32().)
Public method ToInt64

Returns extended (16 bit per channel) numeric representation of this RgbColor.

(Overrides Color.ToInt64().)
Public method ToString

Returns a string representation of this RgbColor.

(Overrides Object.ToString().)

Operators

Name Description
Public operator Static member Implicit Overloaded.

Casts RGB color data format.

See Also

Reference