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

    Interface MediaFitStrategy

    Fit strategy applied to dependent clips when the media loaded behind this media id differs from the media the project was serialized with (e.g. a template with an injected permanentUrl).

    interface MediaFitStrategy {
        fitStyle?: FitStyleEnum;
        toCrop?: boolean;
    }
    Index

    Properties

    Properties

    fitStyle?: FitStyleEnum

    How clips inherit size/scale from the previous layout. Defaults to FitStyleEnum.MATCH_SCALE.

    toCrop?: boolean

    Whether the previous crop is remapped onto the new media. Defaults to true, like replaceMedia.