CPStyledString

Companion object contains factory functions.

Companion:
class
Source:
CPStyledString.scala
class Object
trait Matchable
class Any

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.

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.

Source:
CPStyledString.scala