Description Usage Arguments Value
View source: R/title_background.R
Create background for title page
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | title_background(
hex_path = system.file("app", "www", "img", package = "highlights.shiny"),
background_path = system.file("app", "www", "source_img", package =
"highlights.shiny"),
background_file = "sky.jpg",
sticker_width = 200,
sticker_row_size = 4,
hex_scale_pct_width = 50,
hex_scale_pct_height = NULL,
hex_offset_vec = c(500, 200),
background_scale_pct_width = 100,
background_scale_pct_height = NULL,
background_offset_vec = c(100, 300),
brightness = 400,
saturation = 200,
hue = 100,
radius = 10,
sigma = 5,
canvas_color = "white",
export_image = FALSE
)
|
hex_path |
directory for where hex png files are stored |
background_file |
image file for background of slide. If NULL, no background image file will be used. |
sticker_width |
width of each sticker (in pixels) |
sticker_row_size |
number of rows for the stickers. Default is 5. |
brightness |
brightness of background supplied to |
saturation |
saturation of background supplied to |
hue |
hue of background supplied to |
radius |
radius of background blur supplied to |
sigma |
sigma of background blur supplied to |
image produced by magick::image_composite
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.