GenericTransform

doodle.algebra.generic.GenericTransform
trait GenericTransform[G[_]] extends Transform

Attributes

Source
GenericTransform.scala
Graph
Supertypes
trait Transform
trait Algebra
class Object
trait Matchable
class Any
Self type
Algebra { 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 transform[A](img: Finalized[G, A], tx: Transform): Finalized[G, A]

Attributes

Source
GenericTransform.scala

Inherited methods

def horizontalReflection[A](img: Drawing[A]): Drawing[A]

Attributes

Inherited from:
Transform
Source
Transform.scala
def rotate[A](img: Drawing[A], angle: Angle): Drawing[A]

Attributes

Inherited from:
Transform
Source
Transform.scala
def scale[A](img: Drawing[A], x: Double, y: Double): Drawing[A]

Attributes

Inherited from:
Transform
Source
Transform.scala
def translate[A](img: Drawing[A], vec: Vec): Drawing[A]

Attributes

Inherited from:
Transform
Source
Transform.scala
def translate[A](img: Drawing[A], x: Double, y: Double): Drawing[A]

Attributes

Inherited from:
Transform
Source
Transform.scala
def verticalReflection[A](img: Drawing[A]): Drawing[A]

Attributes

Inherited from:
Transform
Source
Transform.scala

Implicits

Inherited implicits

Attributes

Inherited from:
Algebra
Source
Algebra.scala