format method

TextFormat format()

获取当前文本格式

Implementation

TextFormat format() {
  return textFormat;
}