@rendley/sdk - v1.15.19
    Preparing search index...

    Interface BoundsEditDelegateInternal

    Internal accessor bridge between a session and its clip's protected bounds plumbing. Built by Clip.beginBoundsEdit(); not part of the public API surface.

    interface BoundsEditDelegate {
        apply(key: BoundsValueKey, value: unknown): void;
        applyCropFromBase(
            crop0: number[],
            deltaWorld: { bottom: number; left: number; right: number; top: number },
        ): void;
        capture(key: BoundsValueKey): unknown;
        getBoundingInfo(): ClipBoundingInfo;
        getCapabilities(): ClipBoundingCapabilities;
        resizeWrap(targetBoxWidth: number): void;
    }
    Index

    Methods

    • Live path for crop-mode resize: per-side shrink deltas in WORLD pixels, applied over crop0.

      Parameters

      • crop0: number[]
      • deltaWorld: { bottom: number; left: number; right: number; top: number }

      Returns void

    • Live path for wrap-mode resize: receives the target BOX width and converts internally.

      Parameters

      • targetBoxWidth: number

      Returns void