rotate method

Geometry rotate(
  1. num angle, [
  2. num? x,
  3. num? y
])

Rotates the Geometry in place by a given angle, with optional x and y values to rotate the geometry about. If no x and y value are given, (0, 0) is used as the rotation point. @param {number} angle The angle to rotate by. @param {number=} x The optional X point to rotate the geometry about. If no point is given, this value is 0. @param {number=} y The optional Y point to rotate the geometry about. If no point is given, this value is 0. @return {Geometry} this @since 1.1

Implementation

_i3.Geometry rotate(
  _i2.num angle, [
  _i2.num? x,
  _i2.num? y,
]) =>
    _i4.callMethod(
      this,
      'rotate',
      [
        angle,
        x ?? _i5.undefined,
        y ?? _i5.undefined,
      ],
    );