Example #1
0
        public Color color(IKnownColors type)
        {
            if (rgbTable.ContainsKey(type))
                return rgbTable[type];

            return Color.FromArgb(0, 0, 0); // Fill by somethink...
        }
Example #2
0
 public Color getColor(IKnownColors colorType)
 {
     return this.colors.color(colorType);
 }