FairyGUI.GTextField.GTextField C# (CSharp) Method

GTextField() public method

public GTextField ( ) : System.Collections.Generic
return System.Collections.Generic
        public GTextField()
            : base()
        {
            _textFormat = new TextFormat();
            _textFormat.font = UIConfig.defaultFont;
            _textFormat.size = 12;
            _textFormat.color = Color.black;
            _textFormat.lineSpacing = 3;
            _textFormat.letterSpacing = 0;

            TextFormat tf = _textField.textFormat;
            tf.CopyFrom(_textFormat);
            _textField.textFormat = tf;

            _text = string.Empty;
            _textField.autoSize = AutoSizeType.Both;
            _textField.wordWrap = false;
        }