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:

Examples

alignpatch(ggplot())
#> <ggproto object: Class PatchGgplot, ggalign::Patch, gg>
#>     align_border: function
#>     align_panel: function
#>     decompose_bg: function
#>     decompose_guides: function
#>     get_sizes: function
#>     gtable: function
#>     guides: function
#>     place: function
#>     place_bg: function
#>     place_gt: function
#>     plot: ggplot2::ggplot, ggplot, ggplot2::gg, S7_object, gg
#>     super:  <ggproto object: Class PatchGgplot, ggalign::Patch, gg>