Skip to contents

R6 class defining the properties of background line elements

Super class

tlf::BackgroundElement -> LineElement

Methods

Inherited methods


Method createPlotElement()

Create a ggplot2::element_line directly usable by ggplot2::theme.

Usage

LineElement$createPlotElement(color = NULL, size = NULL, linetype = NULL)

Arguments

color

character color of the frame of the background element

size

character size of the frame of the background element

linetype

character linetype of the frame of the background element

Returns

An element_line object.


Method clone()

The objects of this class are cloneable with this method.

Usage

LineElement$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.