![]() |
![]() |
![]() |
ColorOperator.Add Method |
Language: |
Adds two color values together to create a new color value.
Visual Basic Public Shared Function Add( _
ByVal c1 As Color, _
ByVal c2 As Color _
) As ColorC# public static Color Add(
Color c1,
Color c2
);C++ public:
static Color Add(
Color c1,
Color c2
);JScript public static function Add(
c1 : Color,
c2 : Color
) : Color;
c1 System.Drawing.Color
A Colorobject that specifies the color to add.
c2 System.Drawing.Color
A Colorobject that specifies the color to add.
System.Drawing.Color
Returns a Colorobject that represents the sum of the two colors added together.
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