Beyond_Beyaan.BBLabel.RefreshText C# (CSharp) Метод

RefreshText() приватный Метод

private RefreshText ( string text ) : void
text string
Результат void
        private void RefreshText(string text)
        {
            GorgonLibrary.Graphics.Font font;
            if (string.IsNullOrEmpty(_font))
            {
                font = FontManager.GetDefaultFont();
            }
            else
            {
                font = FontManager.GetFont(_font);
            }
            _textSprite = new TextSprite("Arial", text, font, _color);
            if (!_outlineColor.IsEmpty)
            {
                _textSprite.ShadowColor = _outlineColor;
                _textSprite.ShadowDirection = FontShadowDirection.LowerRight;
                _textSprite.Shadowed = true;
            }
            SetAlignment(_isRightAligned);
            Text = text;
        }