![]() |
![]() |
![]() |
ColorOperator.Negative Method |
Language: |
Creates a negative color value from a given color value.
Visual Basic .NET Public Shared Function Negative( _
ByVal c As Color _
) As ColorC# public static Color Negative(
Color c
);Managed C++ public: static Color Negative(
Color c
);JScript .NET public static function Negative(
c : Color
) : Color;
c System.Drawing.Color. A Color object that specifies the source color.
System.Drawing.Color . A Color
object that represents the negative color value of the source color.
The input alpha channel is copied, unmodified, to the output alpha channel.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center