public override Visual Clone() { var copy = new VisualText(_rectangle.Location, _text); copy.Prototype(this); return(copy); }
protected void Prototype(VisualText other) { base.Prototype(other); this.Text = other.Text; this.Font = other.Font; this.TextHorizontalAlign = other.TextHorizontalAlign; }
public override Visual Clone() { var copy = new VisualText(_rectangle.Location, _text); copy.Prototype(this); return copy; }