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

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.

Value parameters

fg

Foreground color to use.

s

String.

Attributes

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

Creates and builds style string.

Creates and builds style string.

Value parameters

bg

Background color to use.

fg

Foreground color to use.

s

String.

Attributes

Source
CPStyledString.scala