GenericText

doodle.algebra.generic.GenericText
trait GenericText[G[_]] extends Text

Attributes

Source
GenericText.scala
Graph
Supertypes
trait Text
trait Algebra
class Object
trait Matchable
class Any
Known subtypes
trait Text
trait ReifiedText
class Algebra
trait Text
class JvmAlgebra
Self type
Algebra { type Drawing = [A] =>> Finalized[G, A]; }

Members list

Type members

Classlikes

trait TextApi

Attributes

Source
GenericText.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object TextApi

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

Attributes

Source
GenericText.scala

Concrete methods

def font[A](image: Finalized[G, A], font: Font): Finalized[G, A]

Specifies the font to use when rendering text

Specifies the font to use when rendering text

Attributes

Source
GenericText.scala

Render the given String

Render the given String

Attributes

Source
GenericText.scala

Implicits

Inherited implicits

implicit val drawingInstance: Monad[Drawing]

Attributes

Inherited from:
Algebra
Source
Algebra.scala