Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BoxObj"/> class. 
 /// The Copy Constructor
 /// </summary>
 /// <param name="rhs">
 /// The <see cref="BoxObj"/> object from which to copy
 /// </param>
 public BoxObj(BoxObj rhs)
     : base(rhs)
 {
     this.Border = rhs.Border.Clone();
     this.Fill = rhs.Fill.Clone();
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EllipseObj"/> class. 
 /// The Copy Constructor
 /// </summary>
 /// <param name="rhs">
 /// The <see cref="EllipseObj"/> object from which to copy
 /// </param>
 public EllipseObj(BoxObj rhs)
     : base(rhs)
 {
 }