I am a bit confused by the SplitToneRange IList required for SplitToneFilter.
SplitToneFilter(IList<SplitToneRange> splitToneRanges)
How does one create such ranges? I did the following but I'm not sure if I am going about this correctly.
Windows.UI.Color c = new Windows.UI.Color();
c.R = (byte)155;
c.G = (byte)155;
c.B = (byte)155;
SplitToneRange r = new SplitToneRange(20, 80, c);
SplitToneRange r1 = new SplitToneRange(140, 200, c);
Is this a correct start? And if so, how might I add this to the SplitToneRange(..).
I try creating an IList
IList<SplitToneRange> l = new IList<SplitToneRange>(); //error
But I get the following error
Cannot create an instance of the abstact class or interface
System.Collections.Generic.IList<Nokia.Graphics.Imaging.SplitToneRange>