The GrayColor type exposes the following members.

Constructors

  NameDescription
Public methodGrayColor
Create a new GrayColor from it's single color component.

Methods

  NameDescription
Public methodClone
Clones a Color.
(Inherited from Color.)
Public methodConvert
Convert to a System.Drawing.Color.
(Overrides Color..::..Convert()()()().)
Public methodEquals
Compares two colors.
(Inherited from Color.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Provides a hashcode.
(Inherited from Color.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  NameDescription
Public fieldStatic memberBlack
Grey Black
Public fieldStatic memberWhite
Grey white

Properties

  NameDescription
Public propertyName
The name of the color.
(Overrides Color..::..Name.)
Public propertyParsableName
Get the name of the color as it can be parsed again.
(Overrides Color..::..ParsableName.)
Public propertyValue
The grayscale value [0 - 255].

See Also