public override void Copy(DrawingItem obj)
        {
            base.Copy(obj);
            DrawLine v = obj as DrawLine;

            if (v != null)
            {
                this.Point1     = v.Point1;
                this.Point2     = v.Point2;
                this.Color      = v.Color;
                this.LineWidth  = v.LineWidth;
                this._direction = v._direction;
            }
        }
 //
 public DrawLine()
 {
     _direction = EnumLineDirection.PointToPoint;
     calculateAttr();
 }