Ejemplo n.º 1
0
 /// <summary>
 /// The Copy Constructor
 /// </summary>
 /// <param name="rhs">The ArrowItem object from which to copy</param>
 public ArrowItem(ArrowItem rhs)
 {
     x1              = rhs.X1;
     y1              = rhs.Y1;
     x2              = rhs.X2;
     y2              = rhs.Y2;
     size            = rhs.Size;
     color           = rhs.Color;
     penWidth        = rhs.PenWidth;
     isArrowHead     = rhs.IsArrowHead;
     coordinateFrame = rhs.CoordinateFrame;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Add an <see cref="ArrowItem"/> object to the collection at the end of the list.
 /// </summary>
 /// <param name="item">A reference to the <see cref="ArrowItem"/> object to
 /// be added</param>
 public void Add(ArrowItem item)
 {
     List.Add(item);
 }