Transform

trait Transform extends Algebra
trait Algebra
class Object
trait Matchable
class Any
trait Basic

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.

Inherited from:
Algebra
Source:
Algebra.scala

Value members

Abstract methods

def transform[A](img: Drawing[A], tx: Transform): Drawing[A]

Concrete methods

def rotate[A](img: Drawing[A], angle: Angle): Drawing[A]
def scale[A](img: Drawing[A], x: Double, y: Double): Drawing[A]
def translate[A](img: Drawing[A], x: Double, y: Double): Drawing[A]
def translate[A](img: Drawing[A], vec: Vec): Drawing[A]

Implicits

Inherited implicits

Inherited from:
Algebra
Source:
Algebra.scala