Color Methods

The Color type exposes the following members.

Methods

Name Description
Public method Convert

Converts this color to the specified pixel format.

Public method Dispose

Releases all resources used by this Color.

Public method Equals

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

(Overrides Object.Equals(Object).)
Protected method Finalize (Overrides Object.Finalize().)
Public method Static member FromGdiPlusColor

Get the RgbColor constructed from a System.Drawing.Color value.

Public method GetCopy
Public method GetHashCode

Returns a hash code for this Color.

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

Scales the alpha channel.

Public method ToGdiPlusColor

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

Public method ToInt32

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

Public method ToString (Inherited from Object.)

See Also

Reference