Condividi tramite


ColorValue Members

Stores the red, green, blue, and alpha channel values that together define a specific color.

The following tables list the members exposed by the ColorValue type.

Public Constructors

  Name Description
Public method Supported by the .NET Compact Framework ColorValue Overloaded. Initializes a new instance of the ColorValue class.

Top

Public Properties

  Name Description
Public property Supported by the .NET Compact Framework Alpha Gets or sets the alpha channel value of the current color.
Public property Supported by the .NET Compact Framework Blue Gets or sets the blue channel value of the current color.
Public property Supported by the .NET Compact Framework Green Gets or sets the green channel value of the current color.
Public property Supported by the .NET Compact Framework Red Gets or sets the red channel value of the current color.

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method Supported by the .NET Compact Framework Equals  Overloaded. (inherited from ValueType)
Public method Static Supported by the .NET Compact Framework FromArgb Initializes a new instance of a ColorValue structure using an integer value.
Public method Static Supported by the .NET Compact Framework FromColor Initializes a new instance of a ColorValue structure using a Color value.
Public method Supported by the .NET Compact Framework GetHashCode  Returns the hash code for this instance. (inherited from ValueType)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework ToArgb Returns a value that represents the color value of the current instance.
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (inherited from Object)

Top

Protected Methods

  Name Description
Protected method Supported by the .NET Compact Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)

Top

See Also

Reference

ColorValue Structure
Microsoft.WindowsMobile.DirectX.Direct3D Namespace

Other Resources

Direct3D Programming