CPStyledString

org.cosplay.CPStyledString$
See theCPStyledString companion class

Companion object contains factory functions.

Attributes

Companion:
class
Source:
CPStyledString.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def styleStr(s: String, fg: CPColor): Seq[CPPixel]

Creates and builds style string with no background.

Creates and builds style string with no background.

Attributes

fg

Foreground color to use.

s

String.

Source:
CPStyledString.scala
def styleStr(s: String, fg: CPColor, bg: CPColor): Seq[CPPixel]

Creates and builds style string.

Creates and builds style string.

Attributes

bg

Background color to use.

fg

Foreground color to use.

s

String.

Source:
CPStyledString.scala