ColorOperator.Negative(Color) Method (Microsoft.DirectX.Direct3D)
Creates a negative color value from a given color value.
Definition
Visual Basic Public Shared Function Negative( _
ByVal c As Color_
) As ColorC# public static Color Negative(
Colorc
);C++ public:
static ColorNegative(
Colorc
);JScript public static function Negative(
c : Color
) : Color;
Parameters
c System.Drawing.Color
A Colorobject that specifies the source color.
Return Value
System.Drawing.Color
A Colorobject that represents the negative color value of the source color.
Remarks
The input alpha channel is copied, unmodified, to the output alpha channel.
.gif)