Transform

doodle.core.Transform$
See theTransform companion class
object Transform

Attributes

Companion:
class
Source:
Transform.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source:
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source:
Mirror.scala

Value members

Concrete methods

def logicalToScreen(width: Double, height: Double): Transform

Convert from the usual cartesian coordinate system (origin in the center, x and y increase towards the top right) to usual screen coordinate system (origin in the top left, x and y increase to the bottom right).

Convert from the usual cartesian coordinate system (origin in the center, x and y increase towards the top right) to usual screen coordinate system (origin in the top left, x and y increase to the bottom right).

Attributes

Source:
Transform.scala
def rotate(angle: Angle): Transform

Attributes

Source:
Transform.scala

Attributes

Source:
Transform.scala
def screenToLogical(width: Double, height: Double): Transform

Convert from the usual screen coordinate system (origin in the top left, x and y increase to the bottom right) to the usual cartesian coordinate system (origin in the center, x and y increase towards the top right).

Convert from the usual screen coordinate system (origin in the top left, x and y increase to the bottom right) to the usual cartesian coordinate system (origin in the center, x and y increase towards the top right).

Attributes

Source:
Transform.scala

Attributes

Source:
Transform.scala

Attributes

Source:
Transform.scala

Concrete fields

Reflect horizontally (around the Y-axis)

Reflect horizontally (around the Y-axis)

Attributes

Source:
Transform.scala

Attributes

Source:
Transform.scala

Reflect vertically (around the X-axis)

Reflect vertically (around the X-axis)

Attributes

Source:
Transform.scala