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


gforge/Gmisc documentation built on Aug. 30, 2023, 7:38 a.m.