Learn R Programming

ggalign (version 0.0.4)

patch.recordedplot: Convert Object into a Grob

Description

The patch() function is used by wrap() and inset() to convert objects into a grob.

Usage

# S3 method for recordedplot
patch(x, ..., device = NULL)

Value

A grob object.

Arguments

x

An object to be converted into a grob.

...

Not used currently.

device

A function that opens a graphics device for grid.echo() to work on. By default this is an off-screen, in-memory device based on the pdf device. This default device may not be satisfactory when using custom fonts.

See Also

recordPlot