MCPcopy Create free account
hub / github.com/melonjs/melonJS / scaleV

Method scaleV

packages/melonjs/src/renderable/renderable.js:743–746  ·  view source on GitHub ↗

* scale the renderable around his anchor point * @param {Vector2d} v - scaling vector * @returns {Renderable} Reference to this object for method chaining

(v)

Source from the content-addressed store, hash-verified

741 * @returns {Renderable} Reference to this object for method chaining
742 */
743 scaleV(v) {
744 this.scale(v.x, v.y);
745 return this;
746 }
747
748 /**
749 * Translate the renderable by the specified offset.

Callers

nothing calls this directly

Calls 1

scaleMethod · 0.95

Tested by

no test coverage detected