Beispiel #1
0
 ///<summary>
 ///Creates a new object that is a copy of the current instance.
 ///</summary>
 ///
 ///<returns>
 ///A new object that is a copy of this instance.
 ///</returns>
 ///<filterpriority>2</filterpriority>
 public object Clone()
 {
     TextAppearence appearence = new TextAppearence();
     appearence.TextColor = this.TextColor;
     appearence.TextShadowColor = this.TextShadowColor;
     appearence.Xshift = this.Xshift;
     appearence.font = (Font) this.font.Clone();
     appearence.Yshift = this.Yshift;
     return appearence;
 }