![]() |
![]() |
![]() |
ColorValue.FromArgb Method |
Language: |
Initializes and returns an instance of a ColorValue structure using an Int32 value.
Visual Basic Public Shared Function FromArgb( _
ByVal color As Integer _
) As ColorValueC# public static ColorValue FromArgb(
int color
);C++ public:
static ColorValue FromArgb(
int color
);JScript public static function FromArgb(
color : int
) : ColorValue;
color System.Int32
An Int32value that is used to initialize a ColorValue structure.
Microsoft.DirectX.Direct3D.ColorValue
A ColorValue structure whose properties are initialized to the color value.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center