design_img: Desgin a social media image with one of the templates

Description Usage Arguments Value Examples

View source: R/social-img.R

Description

Desgin a social media image with one of the templates

Usage

1
2
design_img(social = NULL, label = NULL, x = NULL, y = NULL,
  font_size = NULL, path = NULL)

Arguments

social

Name of the social media template

label

Text to put in the image, use \n as line break

x

Optional, to specify x axis position for the text

y

Optional, to specify y axis position for the text

font_size

Optional, to specify the font size for the text

path

Optional directory to the template

Value

It will print out the image and create a design_img_obj object with name, width, and height information for export

Examples

1
design_img("twitter", "He he Example", font_size = 45)

yizhexu/rsocial documentation built on May 28, 2017, 9:42 a.m.