absolute.size

0th

Percentile

Absolute Size of a Grob

This function converts a unit object into absolute units. Absolute units are unaffected, but non-absolute units are converted into "null" units.

Keywords
dplot
Usage
absolute.size(unit)
Arguments
unit

An object of class "unit".

Details

Absolute units are things like "inches", "cm", and "lines". Non-absolute units are "npc" and "native".

This function is designed to be used in widthDetails and heightDetails methods.

Value

An object of class "unit".

See Also

widthDetails and heightDetails methods.

Aliases
  • absolute.size
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.