OptionalcolorBackground color '#rrggbb'. Give either this or image.
OptionalhorizontalHorizontal alignment on the page. Defaults to 'center'.
OptionalhorizontalHorizontal offset in PDF points. Defaults to 0.
OptionalimageBackground image as RGBA pixels (an ImageData works). Give either this or color.
RGBA pixel data, 4 bytes per pixel.
Image height in pixels.
Image width in pixels.
OptionalopacityOpacity from 0 to 1. Defaults to 1.
OptionalpagesPage numbers (1-based) to apply to; all pages by default.
OptionalprintWhether the background is printed. Defaults to true.
OptionalrotationRotation in degrees. Defaults to 0.
OptionalscaleScale factor. Defaults to 1.
OptionalverticalVertical alignment on the page. Defaults to 'center'.
OptionalverticalVertical offset in PDF points. Defaults to 0.
OptionalviewWhether the background is shown on screen. Defaults to true.
Background: either color ('#rrggbb') or image (RGBA pixels, ImageData works); rotation in degrees, offset in pt; pages are page numbers (all by default)