Skip to Content

absolute.size {grid}

Absolute Size of a Grob
Package: 
grid
Version: 
R 3.0.2

Description

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

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.

Values

An object of class "unit".

See Also

widthDetails and heightDetails methods.

Author(s)

Paul Murrell

Documentation reproduced from R 3.0.2. License: GPL-2.