docx
    Preparing search index...

    Type Alias IMediaDataTransformation

    type IMediaDataTransformation = {
        emus: { x: number; y: number };
        flip?: { horizontal?: boolean; vertical?: boolean };
        offset?: {
            emus?: { x: number; y: number };
            pixels: { x: number; y: number };
        };
        pixels: { x: number; y: number };
        rotation?: number;
    }
    Index

    Properties

    emus: { x: number; y: number }

    Display dimensions in EMUs (English Metric Units)

    Type Declaration

    • Readonlyx: number

      Width in EMUs (1 inch = 914400 EMUs)

    • Readonlyy: number

      Height in EMUs (1 inch = 914400 EMUs)

    flip?: { horizontal?: boolean; vertical?: boolean }

    Optional flip transformations

    Type Declaration

    • Optional Readonlyhorizontal?: boolean

      Whether to flip the image horizontally

    • Optional Readonlyvertical?: boolean

      Whether to flip the image vertically

    offset?: { emus?: { x: number; y: number }; pixels: { x: number; y: number } }
    pixels: { x: number; y: number }

    Type Declaration

    • Readonlyx: number

      Width in pixels

    • Readonlyy: number

      Height in pixels

    rotation?: number

    Optional rotation angle in degrees