MCPcopy
hub / github.com/midrender/revideo / constructor

Method constructor

packages/2d/src/lib/components/SVG.ts:116–122  ·  view source on GitHub ↗
(props: SVGProps)

Source from the content-addressed store, hash-verified

114 private lastTweenTargetDocument: SVGDocument | null = null;
115
116 public constructor(props: SVGProps) {
117 super(props);
118 this.wrapper = new Node({});
119 this.wrapper.children(this.documentNodes);
120 this.wrapper.scale(this.wrapperScale);
121 this.add(this.wrapper);
122 }
123
124 /**
125 * Get all SVG nodes with the given id.

Callers

nothing calls this directly

Calls 2

addMethod · 0.65
scaleMethod · 0.45

Tested by

no test coverage detected