Interface AnsiElement

All Known Implementing Classes:
Ansi4BitColor, Ansi8BitColor

public interface AnsiElement
ANSI可转义节点接口,实现为ANSI颜色等
Since:
Java 17+
Author:
Kimi Liu
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    获取ANSI代码
     
  • Method Details

    • getCode

      int getCode()
      获取ANSI代码
      Returns:
      ANSI代码
    • toString

      String toString()
      Overrides:
      toString in class Object
      Returns:
      ANSI转义编码