Skip to contents

Get Patch representation

Usage

alignpatch(x)

Arguments

x

Any objects has a Patch representation

Value

A ggalign::Patch object.

Details

ggalign has implement alignpatch method for following objects:

See also

Examples

alignpatch(ggplot())
#> <ggproto object: Class PatchGgplot, ggalign::Patch, gg>
#>     add_background: function
#>     add_plot: function
#>     align_border: function
#>     align_free_border: function
#>     align_panel_sizes: function
#>     borders: NULL
#>     collect_guides: function
#>     free_border: function
#>     free_lab: function
#>     get_sizes: function
#>     gt: NULL
#>     gtable: function
#>     guides: function
#>     plot: ggplot2::ggplot, ggplot, ggplot2::gg, S7_object, gg
#>     split_gt: function
#>     super:  <ggproto object: Class PatchGgplot, ggalign::Patch, gg>