prConvert2Coords: Converts an object to coordinates

View source: R/boxGrob_prConvert2Coords.R

prConvert2CoordsR Documentation

Converts an object to coordinates

Description

Sometimes we have an object that can be either a box, a coprdinate, a unit or a numerical value and all we want is a list of coordinates that we can use for calculating distance, alignment and other things.

Usage

prConvert2Coords(obj)

Arguments

obj

A boxGrob, boxPropGrob, coords output, unit or a number ranging to be converted to a npc unit

Value

A list with all the points that coords returns


Gmisc documentation built on Aug. 26, 2023, 1:07 a.m.