This commit is contained in:
NaBian committed 2019-12-19 01:05:08 +08:00
1 parent 0b79d187ac
commit 99874a418f
16 files changed
+53 -17

No files matched your search

@@ -67,7 +67,7 @@ namespace HandyControl.Data
/// <returns></returns>
public Color GetColor(double range)
{
if (range < 0 || range > 1) return default(Color);
if (range < 0 || range > 1) return default;
return Color.FromArgb((byte)(_color1.A - _subColorArr[0] * range), (byte)(_color1.R - _subColorArr[1] * range),
(byte)(_color1.G - _subColorArr[2] * range), (byte)(_color1.B - _subColorArr[3] * range));
}
@@ -192,6 +192,8 @@
public const string Double2GridLengthConverter = nameof(Double2GridLengthConverter);
public const string DoubleMinConverter = nameof(DoubleMinConverter);
#endregion
#region Effect