@jsfkit/types
    Preparing search index...

    Type Alias BlipFill

    Image/bitmap fill (blip fill).

    Defines a fill using an embedded or linked image, with options for tiling, stretching, cropping, and transparency.

    type BlipFill = {
        alpha?: Percentage;
        dpi?: integer;
        mediaId: string;
        rotWithShape?: boolean;
        srcRect?: RelativeRect;
        stretchRect?: RelativeRect;
        tile?: Tile;
        type: "blip";
    }
    Index

    Properties

    alpha?: Percentage

    Opacity value (0-100, where 100 is fully opaque).

    0
    
    dpi?: integer

    The DPI used to calculate the size of the blip. When this value is not present the DPI in the blip is used.

    mediaId: string

    Reference to the media/image resource to use for this fill.

    rotWithShape?: boolean

    Whether the blip should rotate when the shape is rotated.

    srcRect?: RelativeRect

    Rectangle defining the source crop area of the image (relative coordinates).

    stretchRect?: RelativeRect

    Rectangle defining how the image should be stretched to fill the shape (relative coordinates).

    tile?: Tile

    Tiling properties for repeating the image pattern across the fill area.

    type: "blip"

    Type discriminator for blip (image) fills.