TransAxes

trait TransAxes[T]

Reflect Axis type class. It has two methods to reflect across the X and the Y axes. This has been created as a separate typeclass to TransAxes, as these transformations may preserve types that ReflectAxisOffset's transformations can not.

Companion
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def negXT(obj: T): T

Reflect, mirror an object of type T across the Y axis by negating X.

Reflect, mirror an object of type T across the Y axis by negating X.

def negYT(obj: T): T

Reflect, mirror an object of type T across the X axis, by negating Y.

Reflect, mirror an object of type T across the X axis, by negating Y.

def rotate180(obj: T): T

Rotate an object of type T by 180 degrees or in an anti clockwise direction.

Rotate an object of type T by 180 degrees or in an anti clockwise direction.

def rotate270(obj: T): T

Rotate an object of type T by positive 270 degrees or in an anti clockwise direction.

Rotate an object of type T by positive 270 degrees or in an anti clockwise direction.

def rotate90(obj: T): T

Rotate an object of type T by positive 90 degrees or in an anti clockwise direction.

Rotate an object of type T by positive 90 degrees or in an anti clockwise direction.