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

Method restore

packages/2d/src/lib/components/Node.ts:1907–1916  ·  view source on GitHub ↗
(
    duration?: number,
    timing: TimingFunction = easeInOutCubic,
  )

Source from the content-addressed store, hash-verified

1905 */
1906 public restore(duration: number, timing?: TimingFunction): ThreadGenerator;
1907 public restore(
1908 duration?: number,
1909 timing: TimingFunction = easeInOutCubic,
1910 ): ThreadGenerator | void {
1911 const state = this.stateStack.pop();
1912
1913 if (state !== undefined) {
1914 return this.applyState(state, duration!, timing);
1915 }
1916 }
1917
1918 public *[Symbol.iterator]() {
1919 for (const key in this.properties) {

Callers 15

characterSizeMethod · 0.80
drawMethod · 0.80
drawMethod · 0.80
drawingInfoMethod · 0.80
desiredSizeMethod · 0.80
drawMethod · 0.80
drawArrowsFunction · 0.80
drawShapeFunction · 0.80
drawRippleFunction · 0.80
drawMethod · 0.80
renderFromSourceMethod · 0.80
renderMethod · 0.80

Calls 1

applyStateMethod · 0.95

Tested by

no test coverage detected