docx
    Preparing search index...

    Type Alias ShapeTransformation

    ShapeTransformation: Omit<IMediaTransformation, "width" | "height"> & {
        height: ShapeSize;
        width: ShapeSize;
    }

    A shape's size in pixels, with optional rotation (degrees) and flip. Inside a group, offset positions the shape.

    Type Declaration

    • Readonlyheight: ShapeSize

      Height in pixels, "fitText" for as tall as the shape's text, wrapped at the shape's width, or a percentage for a floating shape

    • Readonlywidth: ShapeSize

      Width in pixels, "fitText" for as wide as the longest line of the shape's text, or a percentage of the space between the margins for a floating shape, such as "100%"