示例#1
0
        public DxfColorGradient Clone()
        {
            DxfColorGradient dxfColorGradient = new DxfColorGradient();

            dxfColorGradient.CopyFrom(this);
            return(dxfColorGradient);
        }
示例#2
0
 public void CopyFrom(DxfColorGradient from)
 {
     this.string_0 = from.string_0;
     this.bool_0   = from.bool_0;
     this.int_0    = from.int_0;
     this.double_0 = from.double_0;
     this.double_1 = from.double_1;
     this.bool_1   = from.bool_1;
     this.double_2 = from.double_2;
     this.list_0.Clear();
     foreach (DxfGradientColor dxfGradientColor in from.list_0)
     {
         this.list_0.Add(dxfGradientColor.Clone());
     }
 }