优化Color类
This commit is contained in:
parent
d32b6ef87f
commit
0fb72a09e0
@ -2490,6 +2490,18 @@ namespace CPF.Drawing
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="v"></param>
|
||||
/// <param name="darkKhaki"></param>
|
||||
/// <returns></returns>
|
||||
public static Color FromArgb(int v, Color darkKhaki)
|
||||
{
|
||||
Color c1 = Color.FromArgb(0xff, darkKhaki.R, darkKhaki.G, darkKhaki.B);
|
||||
return c1;
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
|
||||
//------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user