Text

trait Text extends Algebra

Algebra for creating and styling text.

Source:
Text.scala
trait Algebra
class Object
trait Matchable
class Any
trait GenericText[G]
class Algebra
trait Basic

Type members

Inherited types

type Drawing[_]

The effect type that methods on this algebra produce. Represents an effect that, when run, will draw something and produce a value.

The effect type that methods on this algebra produce. Represents an effect that, when run, will draw something and produce a value.

Inherited from:
Algebra
Source:
Algebra.scala

Value members

Abstract methods

def font[A](image: Drawing[A], font: Font): Drawing[A]

Specifies the font to use when rendering text

Specifies the font to use when rendering text

Source:
Text.scala
def text(text: String): Drawing[Unit]

Render the given String

Render the given String

Source:
Text.scala

Implicits

Inherited implicits

Inherited from:
Algebra
Source:
Algebra.scala