c

fansi

ColorCategory

abstract class ColorCategory extends Category

* Color a encoded on 25 bit as follow : 0 : reset value 1 - 16 : 3 bit colors 17 - 272 : 8 bit colors 273 - 16 777 388 : 24 bit colors

Linear Supertypes
Category, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ColorCategory
  2. Category
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ColorCategory(offset: Int, width: Int, colorCode: Int)(implicit catName: Name)

Abstract Value Members

  1. abstract val all: Vector[Attr]
    Definition Classes
    Category

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val Full: IndexedSeq[EscapeAttr]

    256 color Attrs, for those terminals that support it

  5. def True(r: Int, g: Int, b: Int): EscapeAttr

    Create a TrueColor color, from a given (r, g, b) within the 16-million-color TrueColor range

  6. def True(index: Int): EscapeAttr

    Create a TrueColor color, from a given index within the 16-million-color TrueColor range

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  9. val colorCode: Int
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def lookupAttr(applyState: Long): Attr
    Definition Classes
    ColorCategoryCategory
  16. lazy val lookupAttrTable: Array[Attr]
    Attributes
    protected[this]
    Definition Classes
    Category
  17. def lookupEscape(applyState: Long): String
    Definition Classes
    ColorCategoryCategory
  18. def lookupTableWidth: Int
    Attributes
    protected[this]
    Definition Classes
    ColorCategoryCategory
  19. def makeAttr(s: String, applyValue: Long)(implicit name: Name): EscapeAttr
    Definition Classes
    Category
  20. def makeNoneAttr(applyValue: Long)(implicit name: Name): ResetAttr
    Definition Classes
    Category
  21. def mask: Int
    Definition Classes
    Category
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. val offset: Int
    Definition Classes
    Category
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. def trueIndex(r: Int, g: Int, b: Int): Int
  29. def trueRgbEscape(r: Int, g: Int, b: Int): String
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. val width: Int
    Definition Classes
    Category

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Category

Inherited from AnyRef

Inherited from Any

Ungrouped