scale(sx, sy, anchor) {
    if (!anchor) {
      anchor = getCenter(this.getExtent());
    }
    const geometries = this.geometries_;
    for (let i = 0, ii = geometries.length; i < ii; ++i) {
      geometries[i].scale(sx, sy, anchor);
    }
    this.changed();
  }
Scale the geometry (with an optional origin).  This modifies the geometry
coordinates in place.
@abstract
@param {number} sx The scaling factor in the x-direction.
@param {number} [sy] The scaling factor in the y-direction (defaults to sx).
@param {import("../coordinate.js").Coordinate} [anchor] The scale origin (defaults to the center
    of the geometry extent).
@api
@override