ResizedImage | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Type Alias ResizedImage

    The result of a toResized() call

    type ResizedImage = {
        dominantColor: string | null;
        height: number;
        link: string;
        objectPosition: string | null;
        width: number;
    }
    Index

    Properties

    dominantColor: string | null

    Dominant color as #RRGGBB hex code

    height: number

    Post-resize height in pixels

    link: string

    Link to the image. May start with http://, https://, // or /

    objectPosition: string | null

    Object position as x% y% (eg 25.0000% 50.0000%)

    width: number

    Post-resize width in pixels