Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates a negative color value from a given color value.
Definition
Visual Basic Public Shared Function Negative( _
ByVal c As ColorValue _
) As ColorValueC# public static ColorValue Negative(
ColorValue c
);C++ public:
static ColorValue Negative(
ColorValue c
);JScript public static function Negative(
c : ColorValue
) : ColorValue;
Parameters
c Microsoft.DirectX.Direct3D.ColorValue
A ColorValue object that specifies the source color.
Return Value
Microsoft.DirectX.Direct3D.ColorValue
A ColorValue object that represents the negative color value of the source color.
Remarks
The input alpha channel is copied, unmodified, to the output alpha channel.