provide a GetHueScaledInt32 function
This commit is contained in:
parent
248e1e8bad
commit
d55c8cdaac
@ -226,6 +226,10 @@ namespace MBS.Framework.Drawing
|
||||
Hue = value;
|
||||
}
|
||||
|
||||
public int GetHueScaledInt32(double scale = 240.0)
|
||||
{
|
||||
return (int)GetHueScaled(scale);
|
||||
}
|
||||
public double GetHueScaled(double scale = 240.0)
|
||||
{
|
||||
return GetHueFraction() * scale;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user