tileDraw: Redraw a tile graphical object to the current device

Description Usage Arguments Details Value Author(s) See Also

View source: R/tileDraw.R

Description

Draws a tile graphical object to the current device. Because tile automatically draws the object to a file, tileDraw is usually superfluous.

Usage

1
tileDraw(grob, defaultlayer=10)

Arguments

grob

A tile or grid object; e.g., the value returned by tile

defaultlayer

The layer on which to draw any sub-elements of grob which lack a preassigned layer. Layers with higher numbers are drawn first, then lower numbers are drawn on top.

Details

This internal function draws a tile graphical object to the current device. It is mainly of use of an internal function; most users should simply use tile to create and save tile graphics to a file.

This function is provided for completeness, and is not necessary to create tile graphics with detailed annotations, which can be done through careful construction of traces prior to calling tile.

However, if users wish to add to or modify an existing tile grob, they may do so by directly editing the grob returned by tile, then sending it to tileDraw to place it on the current device. Care should be taken to set up the current device to have appropriate height, width, and pointsize.

Value

tileDraw is mainly called for the side-effect of drawing a tile grob. It invisibly returns the grob after drawing.

Author(s)

Christopher Adolph <cadolph@uw.edu>

See Also

tile


chrisadolph/tileForShiny documentation built on Feb. 6, 2022, 12:34 a.m.