MCPcopy Create free account
hub / github.com/esengine/esengine / copyFrom

Method copyFrom

packages/fairygui/src/utils/MathTypes.ts:40–44  ·  view source on GitHub ↗
(source: IPoint)

Source from the content-addressed store, hash-verified

38 }
39
40 public copyFrom(source: IPoint): this {
41 this.x = source.x;
42 this.y = source.y;
43 return this;
44 }
45
46 public clone(): Point {
47 return new Point(this.x, this.y);

Callers 1

replaceMeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected