public Label(Label prototype) { mText = prototype.Text; mColor = prototype.Color; mOpacity = prototype.Opacity; mVisible = prototype.Visible; mOffset = prototype.Offset; //Check if font, alignment and line alignment are defaults, else clone mFont = (prototype.Font == Component.Instance.DefaultFont) ? null : (Font) prototype.Font.Clone(); }