ColorExtensionsBlend(Color64, Color64) Method
Blends the specified
foreColor and
backColor in the sRGB color space.
It returns
foreColor if it has no transparency (that is, when
A is 65535); otherwise, the result of the blending.
Namespace: KGySoft.Drawing.ImagingAssembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 9.0.0
public static Color64 Blend(
this Color64 foreColor,
Color64 backColor
)
<ExtensionAttribute>
Public Shared Function Blend (
foreColor As Color64,
backColor As Color64
) As Color64
public:
[ExtensionAttribute]
static Color64 Blend(
Color64 foreColor,
Color64 backColor
)
[<ExtensionAttribute>]
static member Blend :
foreColor : Color64 *
backColor : Color64 -> Color64
- foreColor Color64
- The covering color to blend with backColor.
- backColor Color64
- The background color to be covered with foreColor.
Color64foreColor if it has no transparency; otherwise, the result of the blending.In Visual Basic and C#, you can call this method as an instance method on any object of type
Color64. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).