watermark_generator {gofigR} | R Documentation |
Makes a watermark generator. You can use the result with enable(watermark=...).
Description
Makes a watermark generator. You can use the result with enable(watermark=...).
Usage
watermark_generator(
show_qr = TRUE,
qr_size_px = c(100, 100),
link_size_px = c(500, 100),
link_bg = "#ffffff",
font_color = "#000000",
font_size = 14,
font = "mono",
dynamic_size = TRUE
)
Arguments
show_qr |
show QR code |
qr_size_px |
two-element vector specifying the width, height of the QR code |
link_size_px |
two-element vector specifying the width, height of the link |
link_bg |
background color for the link |
font_color |
font color for the link |
font_size |
font size for the link |
font |
font name or family, e.g. "mono" |
dynamic_size |
whether to automatically adjust the watermark size depending on the size of the current graphics device |
Value
a function which you can pass to enable_knitr(watermark)
[Package gofigR version 0.3.1 Index]