ColorValue Structure (Microsoft.DirectX.Direct3D)
Stores the red, green, blue, and alpha channel values that together define a specific color.
Visual Basic Public Structure ColorValue C# public struct ColorValue C++ public value class ColorValue sealed JScript In JScript, you can use structures, but you cannot define your own.
The following table lists the members exposed by the object.
Methods
Method Description ColorValue Initializes a new instance of the ColorValue structure. FillD3DColor Fills a _D3DCOLORVALUE structure with the color values of the current instance. FromArgb
Initializes and returns an instance of a ColorValue structure using an Int32 value.
FromColor
Initializes and returns an instance of a ColorValue structure using a Color value.
FromD3DColor
Initializes and returns an instance of a ColorValue structure using an _D3DCOLORVALUE value. ToArgb Returns an Int32 value that represents the color value of the current instance.
Properties
Namespace Microsoft.DirectX.Direct3D Assembly Microsoft.DirectX.Direct3D (microsoft.directx.direct3d.dll) Strong Name Microsoft.DirectX.Direct3D, Version=1.0.900.0, Culture=neutral, PublicKeyToken=d3231b57b74a1492
Show:
