CommonHelperMergeColors Method (Color, Single, Color, Single) |
Merge two colors together using relative percentages.
Namespace:
Internal.ComponentFactory.Krypton.Toolkit
Assembly:
NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public static Color MergeColors(
Color color1,
float percent1,
Color color2,
float percent2
)
Parameters
- color1
- Type: System.DrawingColor
First color. - percent1
- Type: SystemSingle
Percentage of first color to use. - color2
- Type: System.DrawingColor
Second color. - percent2
- Type: SystemSingle
Percentage of second color to use.
Return Value
Type:
ColorMerged color.
See Also