@JsType(isNative=true)
public class Transformation
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
Point |
transform(Point point,
java.lang.Number scale)
Returns a transformed point, optionally multiplied by the given scale.
|
Point |
untransform(Point point,
java.lang.Number scale)
Returns the reverse transformation of the given point, optionally divided by the given scale.
|
@JsMethod public Point transform(Point point, java.lang.Number scale)
point - the pointscale - the scale@JsMethod public Point untransform(Point point, java.lang.Number scale)
point - the pointscale - the scale