The Color type exposes the following members.

Constructors

  NameDescription
Protected methodColor
Initializes a new instance of the Color class

Methods

  NameDescription
Public methodClone
Clones a Color.
Public methodConvert()()()()
Convert this color to a GDI color.
Public methodStatic memberConvert(Color)
Convert a GDI color to a PDF color.
Public methodEquals
Compares two colors.
(Overrides Object..::..Equals(Object).)
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.
(Overrides Object..::..GetHashCode()()()().)
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 methodStatic memberParse
Parse a string to extract a color.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Operators

  NameDescription
Public operatorStatic memberImplicitWideningImplicitImplicitImplicit(Color to Color)
Provides implicit conversion from System.Drawing.Color.

Properties

  NameDescription
Public propertyName
The name of the color. This can be a string describing the color or an actual name like Orange or Green.
Public propertyParsableName
Get the name of the color as it can be parsed again.
Public propertyStatic memberTransparent
The color Transparent is a special instance of color. It is completely transparent and has no components.

See Also