NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Color Methods

The methods of the Color structure are listed below. For a complete list of Color structure members, see the Color Members topic.

Public:

Equals [To be supplied.]
FromARGB Overloaded. [To be supplied.]
FromKnownColor Creates a color object from the specified KnownColor.
FromName Creates a color object with the specified name.
FromSRGB64 Creates a color object from the specified sRGB64 value. The resulting color object will have 64 bit precision.
FromString [To be supplied.]
GetBrightness The HSB brightness for this color.
GetHashCode (inherited from ValueType) Returns the hash code for this instance.
GetHue The HSB Hue value for this color, in degrees.
GetSaturation The HSB saturation for this color.
GetType (inherited from Object) Gets the Type of the Object.
ToARGB Returns the ARGB value of this color.
ToKnownColor Returns the KnownColor value for this color, if it is based on a KnownColor.
ToSRGB64 Returns the sRGB64 value of this color.
ToString [To be supplied.]

Protected:

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Color Structure | System.Drawing Namespace