docx
    Preparing search index...

    Type Alias PictureShapeFill

    A fill of a picture, such as a photo in a circle. The shape's outline crops the picture.

    type PictureShapeFill = {
        crop?: ICropOptions;
        image: ImageSource;
        tile?: PictureTile;
        transparency?: number;
        type: "picture";
    }
    Index

    Crops the picture by a percentage of each side, from 0 to 100, before stretching it to fill the shape

    The picture: its format and data, as for an ImageRun, such as { type: "png", data: fs.readFileSync("photo.png") }

    Repeats the picture across the shape at its own size, instead of stretching it to fill the shape

    transparency?: number

    From 0 (opaque) to 100 (invisible)

    type: "picture"