watermark_img: Add a watermark image

Description Usage Arguments Value

Description

This functionality depends on the readbitmap package.

Usage

1
watermark_img(filename, x, y, width = 32, location = "br", alpha = 1, ...)

Arguments

filename

the filename of the

x

the x location of the watermark (0-1 scale)

y

the y location of the watermark (0-1 scale)

width

the width of the watermark image (in 'points')

location

one of tr (top right), tl (top left), bl (bottom left), br (bottom right), center (view center)

alpha

transparency value

...

arguments passed to grid::gpar()

Value

a ggplot object


Bart6114/artyfarty documentation built on May 5, 2019, 10:26 a.m.