GH_ColourCubeAverage Method (Color, Color) |
Compute the average of two colours.
Namespace:
Grasshopper.GUI.Base
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public Color Average(
Color A,
Color B
)
Public Function Average (
A As Color,
B As Color
) As Color
Parameters
- A
- Type: System.DrawingColor
First colour for average. - B
- Type: System.DrawingColor
Second colour for average.
Return Value
Type:
ColorThe average of A and B.
See Also