RgbColor Methods

The RgbColor type exposes the following members.

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 Static member FromHsl

Creates a RgbColor from the specified HSL 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 RgbColor.

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

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

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

Returns a string that represents the current object.

(Overrides Object.ToString().)

See Also

Reference