element_grob: Generate grid grob from theme element

View source: R/theme-elements.R

element_grobR Documentation

Generate grid grob from theme element

Description

The element_grob() function is vestigial and draw_element() should be used instead.

Usage

element_grob(element, ...)

Arguments

element

Theme element, i.e. element_rect or similar.

...

Other arguments to control specific of rendering. This is usually at least position. See the source code for individual methods.


ggplot2 documentation built on Sept. 11, 2025, 9:10 a.m.