Beyond_Beyaan.BBSingleLineTextBox.Draw C# (CSharp) Method

Draw() public method

public Draw ( ) : void
return void
        public void Draw()
        {
            background.Draw();
            if (SelectedText.Length > 0)
            {
                float x = text.Position.X + ( SelectedTextIndex * text.CharacterWidth );
                float y = text.Position.Y;
                DrawHighlight(x, y);
            }
            text.Draw();
        }