Text

doodle.algebra.Text
trait Text extends Algebra

Algebra for creating and styling text.

Attributes

Source
Text.scala
Graph
Supertypes
trait Algebra
class Object
trait Matchable
class Any
Known subtypes
trait GenericText[G]
trait ReifiedText
class Algebra
trait Text
class JvmAlgebra
trait Basic
trait BaseAlgebra
Show all

Members list

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.

Attributes

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

Attributes

Source
Text.scala

Render the given String

Render the given String

Attributes

Source
Text.scala

Implicits

Inherited implicits

implicit val drawingInstance: Monad[Drawing]

Attributes

Inherited from:
Algebra
Source
Algebra.scala