Esempio n. 1
0
 /// <summary>
 /// Initialize this segment
 /// </summary>
 /// <param name="firstSegment"></param>
 /// <param name="vertical"></param>
 /// <param name="index"></param>
 public void Initialize(SMPathOut firstSegment, bool vertical, int index)
 {
     _index        = index;
     _firstSegment = firstSegment;
     _vertical     = vertical;
     _initialized  = true;
 }
        /// <summary>
        /// Recursivley make a clone of this item
        /// </summary>
        /// <returns>New cloned instance</returns>
        public override SMPath Clone()
        {
            SMPathOut newPathOut = base.Clone() as SMPathOut;

            newPathOut.TargetID    = TargetID;
            newPathOut.Highlighted = Highlighted;
            return(newPathOut);
        }