GH_GraphicsUtilBlendColour Method (Color, Color) |
Overlays two colours. The Alpha component of the top colour controls the blend.
Namespace:
Grasshopper.GUI
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public static Color BlendColour(
Color bottom,
Color top
)
Public Shared Function BlendColour (
bottom As Color,
top As Color
) As Color
Parameters
- bottom
- Type: System.DrawingColor
Base colour. - top
- Type: System.DrawingColor
Overlay colour.
Return Value
Type:
ColorThe blended colour. Alpha channels are added together.
See Also