watermark_img: Add a watermark image

Description Usage Arguments Value

View source: R/watermark.R

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


datarootsio/artyfarty documentation built on May 14, 2019, 9:42 a.m.