Blend

doodle.algebra.Blend
trait Blend extends Algebra

Algebra describing color blending modes.

Attributes

Source
Blend.scala
Graph
Supertypes
trait Algebra
class Object
trait Matchable
class Any

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 burn[A](image: Drawing[A]): Drawing[A]

Attributes

Source
Blend.scala
def dodge[A](image: Drawing[A]): Drawing[A]

Attributes

Source
Blend.scala
def lighten[A](image: Drawing[A]): Drawing[A]

Attributes

Source
Blend.scala
def screen[A](image: Drawing[A]): Drawing[A]

Attributes

Source
Blend.scala

Attributes

Source
Blend.scala

Implicits

Inherited implicits

implicit val drawingInstance: Monad[Drawing]

Attributes

Inherited from:
Algebra
Source
Algebra.scala