tinyimg - v1.0.0
    Preparing search index...

    Type Alias Fit

    Fit:
        | "scale-down"
        | "contain"
        | "cover"
        | "crop"
        | "aspect-crop"
        | "aspect-contain"
        | "aspect-cover"
        | "pad"
        | "stretch"
        | "fill"
        | "scale-up"

    How an aspect mismatch is absorbed, mirroring TinyImageFit.

    The eleven are two independent choices read as one: whether the mismatch is left, cropped, padded or distorted, and whether the scale may rise, fall, both or neither.