private void renderLabel() { if (_element.HasColors) { this.renderColor(); } _console.Write(_element.Column, _element.Row, _element.Text); }
public void DrawHorizLine(int row, int columnFrom, int columnTo, string character) { if (!_console.IsValidCoord(columnFrom, row)) { return; } if (!_console.IsValidCoord(columnTo, row)) { return; } if (columnFrom > columnTo) { int columnAux = columnTo; columnTo = columnFrom; columnFrom = columnAux; } _console.Write(columnFrom, row, character, columnTo - columnFrom + 1); _console.SendCursorToBottom(); }