Vertex Viewer SDK
    Preparing search index...

    Variable cropFitConst

    cropFit: (
        to: Dimensions.Dimensions,
        dimensions: Dimensions.Dimensions,
    ) => Dimensions.Dimensions

    Returns a Dimensions where the shortest length of dimensions will be equal to the longest length of to. The longest length of dimensions will be proportionally scaled to match the aspect ratio of dimensions.

    Type Declaration

    #containFit()