Debug

doodle.algebra.Debug
trait Debug extends Algebra

Attributes

Source:
Debug.scala
Graph
Supertypes
trait Algebra
class Object
trait Matchable
class Any
Known subtypes
trait GenericDebug[G]
trait Basic

Members list

Concise view

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 debug[A](picture: Drawing[A], color: Color): Drawing[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:
Debug.scala

Implicits

Inherited implicits

Attributes

Inherited from:
Algebra
Source:
Algebra.scala