GenericDebug

doodle.algebra.generic.GenericDebug
trait GenericDebug[G[_]] extends Debug

Attributes

Source
GenericDebug.scala
Graph
Supertypes
trait Debug
trait Algebra
class Object
trait Matchable
class Any
Self type
Shape & Layout & GivenApply[G] { type Drawing = [A] =>> Finalized[G, A]; }

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

Concrete methods

def debug[A](picture: Finalized[G, A], color: Color): Finalized[G, A]

Draws the bounding box and origin of the given picture on top of the picture. The given color is used for the bounding box and origin.

Draws the bounding box and origin of the given picture on top of the picture. The given color is used for the bounding box and origin.

The bounding box and origin are not included in layout calculations and hence will not affect the picture's layout.

Attributes

Source
GenericDebug.scala

Implicits

Inherited implicits

implicit val drawingInstance: Monad[Drawing]

Attributes

Inherited from:
Algebra
Source
Algebra.scala