Exemplo n.º 1
0
        public override IHairType CreateNew(string str)
        {
            SolidHair returnV = new SolidHair();

            string[] tokens = str.Split(',');
            if (tokens.Length >= 1)
            {
                returnV.C = new HSVColor(tokens[0]);
            }
            return(returnV);
        }
Exemplo n.º 2
0
 public SolidHair(SolidHair rvalue)
 {
     C = rvalue.C.Clone();
 }