Skip to content

Interface: PictureFill ​

A picture (image) fill (a:blipFill) read from a fill-bearing container. The image itself is relId / partName; the rest is the geometry a faithful replica needs — mode (stretch or tile), the source crop srcRect, the destination inset fillRect, and tile.

Rect fields follow the read API's fraction convention (see Picture.crop): the raw attributes are thousandths of a percent and are divided by 100000, so 0.1 is 10 % and a negative value (a fillRect that bleeds past the edge) stays negative.

Properties ​

alpha ​

alpha: number | null

Blip opacity 0–1 (a:blip/a:alphaModFix/@amt), or null when the blip sets none.


dpi ​

dpi: number | null

DPI override the image is rendered at (@dpi), or null when unset. 0 means "use the image's own".


fillRect ​

fillRect: FillRect | null

Stretch destination rect as per-edge fractions (a:stretch/a:fillRect), or null when absent.


mode ​

mode: "stretch" | "tile" | null

stretch (a:stretch) or tile (a:tile); null when the fill states neither.


partName ​

partName: string | null

Absolute partname of the embedded image, or null when it has no rel id / no resolvable target.


relId ​

relId: string | null

Relationship id of the embedded image (a:blip/@r:embed), or null when the blip embeds none.


rotWithShape ​

rotWithShape: boolean | null

Whether the fill rotates with its shape (@rotWithShape), or null when unset.


srcRect ​

srcRect: FillRect | null

Source crop as per-edge fractions (a:srcRect), or null when absent. An explicit <a:srcRect/> reports zeros.


tile ​

tile: PictureFillTile | null

Tiling geometry (a:tile), or null when the fill is not tiled.