![]() |
![]() |
![]() |
ColorOperator.Modulate Method |
Language: |
Blends two colors.
Visual Basic Public Shared Function Modulate( _
ByVal c1 As Color, _
ByVal c2 As Color _
) As ColorC# public static Color Modulate(
Color c1,
Color c2
);C++ public:
static Color Modulate(
Color c1,
Color c2
);JScript public static function Modulate(
c1 : Color,
c2 : Color
) : Color;
c1 System.Drawing.Color
A Colorobject that specifies the first source color to modulate.
c2 System.Drawing.Color
A Colorobject that specifies the second source color to modulate.
System.Drawing.Color
A Colorobject that represents the result of the blending operation.
This method blends two colors by multiplying matching color components.
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