ColorBlend Method (Color, Color, Single) |
Blends the blendColor onto the specified baseColor. Ignores the alpha component and uses
the provided blend factor.
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static Color Blend(
Color baseColor,
Color blendColor,
float blendFactor
)
Public Shared Function Blend (
baseColor As Color,
blendColor As Color,
blendFactor As Single
) As Color
static member Blend :
baseColor : Color *
blendColor : Color *
blendFactor : float32 -> Color
Parameters
- baseColor
- Type: Eto.DrawingColor
Base color - blendColor
- Type: Eto.DrawingColor
Color to blend onto the base color - blendFactor
- Type: SystemSingle
Blend amount from 0 (baseColor) to 1 (blendColor).
Return Value
Type:
Color[Missing <returns> documentation for "M:Eto.Drawing.Color.Blend(Eto.Drawing.Color,Eto.Drawing.Color,System.Single)"]
Remarks
This computes the blended value of two colors.
See Also