ColorRange¶
Namespace Nfty.Core.Model in assembly Nfty.Ticket.
A band of color a Dynamic layer can roll within.
Constructors¶
ColorRange(double, double, double, double)¶
Parameters
HueMin(double) - Lowest hue in degrees.HueMax(double) - Highest hue in degrees. The interval is half-open —ColorRollersamplesMin + r*(Max-Min)withrin[0,1)— so Max itself is only reached by a degenerate range where Min equals Max.SatMin(double) - Lowest saturation, 0..100.SatMax(double) - Highest saturation, 0..100; half-open in the same way.
Properties¶
HueMax¶
Highest hue in degrees. The interval is half-open — ColorRoller samples Min + r*(Max-Min) with r in [0,1) — so Max itself is only reached by a degenerate range where Min equals Max.
HueMin¶
Lowest hue in degrees.
SatMax¶
Highest saturation, 0..100; half-open in the same way.
SatMin¶
Lowest saturation, 0..100.