Class: Transform

Core.Transform

the transform class

new Core.Transform (x, y, xscale, yscale)

Name Type Description
x Number the x coordinate
y Number the y coordinate
xscale Number the x-axis (horizontal) scaling
yscale Number the y-axis (vertical) scaling

Methods

Core.Transform.add (t1, t2)Core.Transform static

adds two transforms
Name Type Description
t1 Core.Transform a transform
t2 Core.Transform a transform
Returns:
Type Description
Core.Transform the joined transform