scale method
Scales the Geometry in place by a given (x, y) scale factor.
If you want to flip a Geometry horizontally, call geo.scale(-1, 1)
.
If you want to flip a Geometry vertically, call geo.scale(1, -1)
.
@param {number} x The x-axis scale factor.
@param {number} y The y-axis scale factor.
@return {Geometry} this
@since 1.1
Implementation
_i3.Geometry scale(
_i2.num x,
_i2.num y,
) =>
_i4.callMethod(
this,
'scale',
[
x,
y,
],
);