getGrobSize: Get grob size

View source: R/grobs.R

getGrobSizeR Documentation

Get grob size

Description

Returns grob size in specified units.

Usage

getGrobSize(gtree, layoutName = NULL, unit = "mm")

Arguments

gtree

A gtree object.

layoutName

Layout name (a character string). If NULL, size for 'gtree' is calculated.

unit

Unit name (see unit).

Value

An list of two numerics.


Roche/ggtips documentation built on May 14, 2022, 12:44 p.m.