GrayscaleColor Members

The GrayscaleColor type exposes the following members.

Constructors

Name Description
Public method GrayscaleColor Overloaded.

Initializes a new instance of the GrayscaleColor class.

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 A

Gets 8-bit alpha channel value (color opacity).

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 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 L

Gets 8-bit luminosity channel value.

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