ColorValue.ColorValue Constructor
|
Language: |
Note: This documentation is preliminary and is subject to change.
Initializes a new instance of the ColorValue structure.
Definition
Visual Basic .NET |
Public Sub New( _ ByVal r As Integer, _ ByVal g As Integer, _ ByVal b As Integer, _ ByVal a As Integer _ ) |
C# |
public ColorValue( int r, int g, int b, int a ); |
Managed C++ |
public: ColorValue( int r, int g, int b, int a ); |
JScript .NET |
public function ColorValue( r : int, g : int, b : int, a : int ); |
Parameters
r
|
System.Int32. An integer value that represents the level of red in the color. |
g
|
System.Int32. An integer value that represents the level of green in the color. |
b
|
System.Int32. An integer value that represents the level of blue in the color. |
a
|
System.Int32. An integer value that represents the alpha channel value of the color. |
© 2004 Microsoft Corporation. All rights reserved. Terms of use.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center