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.
Blends two colors.
Definition
Visual Basic Public Shared Function Modulate( _
ByVal c1 As Color, _
ByVal c2 As Color_
) As ColorC# public static Color Modulate(
Colorc1,
Colorc2
);C++ public:
static ColorModulate(
Colorc1,
Colorc2
);JScript public static function Modulate(
c1 : Color,
c2 : Color
) : Color;
Parameters
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.
Return Value
System.Drawing.Color
A Colorobject that represents the result of the blending operation.
Remarks
This method blends two colors by multiplying matching color components.
.gif)