widthDetails

0th

Percentile

Width and Height of a grid grob

These generic functions are used to determine the size of grid grobs.

Keywords
dplot
Usage
widthDetails(x)
heightDetails(x)
ascentDetails(x)
descentDetails(x)
Arguments
x

A grid grob.

Details

These functions are called in the calculation of "grobwidth" and "grobheight" units. Methods should be written for classes derived from grob or gTree where the size of the grob can be determined (see, for example grid:::widthDetails.frame).

The ascent of a grob is the height of the grob by default and the descent of a grob is zero by default, except for text grobs where the label is a single character value or expression.

Value

A unit object.

See Also

absolute.size.

Aliases
  • widthDetails
  • heightDetails
  • ascentDetails
  • descentDetails
Documentation reproduced from package grid, version 3.4.1, License: Part of R 3.4.1

Community examples

Looks like there are no examples yet.