Averaging.Average
Extension Method in Averaging
Declaration
public static Color Average(this Color color, Color other)
Description
Returns the result of averaging the RGBA component values of the color with another color.
Parameters
color | The color to average. |
other | The color to average with. |
Returns
Color | The average color. |
Overload
Declaration
public static Color Average(this Color[] colors)
Description
Returns the result of averaging the RGBA component values of the colors.
Parameters
colors | The colors to average. |
Returns
Color | The average color. |