![]() |
![]() |
![]() |
ColorValue.FromColor Method |
Language: |
Initializes and returns an instance of a ColorValue structure using a Color value.
Visual Basic Public Shared Function FromColor( _
ByVal color As Color _
) As ColorValueC# public static ColorValue FromColor(
Color color
);C++ public:
static ColorValue FromColor(
Color color
);JScript public static function FromColor(
color : Color
) : ColorValue;
color System.Drawing.Color
A ColorValue 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