C# Class NanoByte.Common.ColorUtils

Convert colors to different formats, interpolate, invert, ...
Show file Open project: nano-byte/common

Public Methods

Method Description
EqualsIgnoreAlpha ( this color1, Color color2 ) : bool

Compares two colors ignoring the alpha channel and the name

Private Methods

Method Description
Interpolate ( float factor, Color color1, Color color2 ) : Color

Method Details

EqualsIgnoreAlpha() public static method

Compares two colors ignoring the alpha channel and the name
public static EqualsIgnoreAlpha ( this color1, Color color2 ) : bool
color1 this
color2 System.Drawing.Color
return bool