ColorOperator.Subtract Method

Language:

Subtracts two color values to create a new color value.

Definition

Visual Basic Public Shared Function Subtract( _
    ByVal c1 As Color, _
    ByVal c2 As Color _
) As Color
C# public static Color Subtract(
    Color c1,
    Color c2
);
C++ public:
static Color Subtract(
    Color c1,
    Color c2
);
JScript public static function Subtract(
    c1 : Color,
    c2 : Color
) : Color;

Parameters

c1 System.Drawing.Color
A Color Leave Site object that specifies the color to subtract.
c2 System.Drawing.Color
A Color Leave Site object that specifies the color to subtract.

Return Value

System.Drawing.Color
A Color Leave Site object that represents the difference between the two colors.

See Also


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