Gets/sets palette entry by index.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Type: System.Int32
Entry index you want to retrieve. It should vary in range [0, entries count - 1].For i As Integer = 0 To palette.Count - 1 Dim color As Aurigma.GraphicsMill.RgbColor = palette(i) Console.WriteLine("A: " & color.A & " R: " & color.R & " G: " & color.G & " B: " & color.B) Next
for (int i = 0; i< palette.Count; i++) { Aurigma.GraphicsMill.RgbColor color = palette[i]; Console.WriteLine("A: " + color.A + " R: " + color.R + " G: " + color.G + " B: " + color.B); }