print.meme: print method for meme object

Description Usage Arguments Examples

View source: R/plot.R

Description

print method for meme object

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
## S3 method for class 'meme'
print(
  x,
  size = NULL,
  color = NULL,
  font = NULL,
  upper = NULL,
  lower = NULL,
  vjust = NULL,
  bgcolor = NULL,
  r = NULL,
  newpage = is.null(vp),
  vp = NULL,
  newdev = FALSE,
  ...
)

## S3 method for class 'meme'
plot(
  x,
  size = NULL,
  color = NULL,
  font = NULL,
  upper = NULL,
  lower = NULL,
  vjust = NULL,
  bgcolor = NULL,
  r = NULL,
  newpage = is.null(vp),
  vp = NULL,
  newdev = FALSE,
  ...
)

Arguments

x

meme object

size

size of text

color

color of text

font

font family of text

upper

upper text

lower

lower text

vjust

vertical adjustment ratio

bgcolor

background color of shadow text

r

ratio for shadow text

newpage

draw new (empty) page first?

vp

viewport to draw plot in

newdev

open new graphic device?

...

other arguments not used by this method

Examples

1
2
3
f <- system.file("angry8.jpg", package="meme")
x <- meme(f, "code", "all the things!", font = "Helvetica")
print(x)

GuangchuangYu/meme documentation built on April 25, 2021, 4:47 a.m.