예제 #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);
        }
예제 #2
0
 public SolidHair(SolidHair rvalue)
 {
     C = rvalue.C.Clone();
 }