Constructor and Description |
---|
Transformation(double a,
double b,
double c,
double d)
Instantiates a new transformation.
|
Modifier and Type | Method and Description |
---|---|
Point |
transform(Point point,
double scale)
Returns a transformed point, optionally multiplied by the given scale.
|
Point |
untransform(Point point,
double scale)
Returns the reverse transformation of the given point, optionally divided by the given scale.
|
@JsConstructor public Transformation(double a, double b, double c, double d)
a
- the ab
- the bc
- the cd
- the dCopyright © 2018 G-Widgets. All rights reserved.