gridCoords {grid} | R Documentation |
These functions support the development of grobPoints
methods for custom grobs.
gridCoords(x, y)
gridGrobCoords(x, name, rule = NULL)
gridGTreeCoords(x, name)
emptyCoords
emptyGrobCoords(name)
emptyGTreeCoords(name)
isEmptyCoords(coords)
x |
For |
y |
A numeric vector. |
name |
A character value. |
rule |
A fill rule, either |
coords |
A set of grob coordinates (as generated by |
These functions help the developer of a grobPoints
method
to generate the coordinates from a custom grob.
The emptyCoords
object can be used to return a "null"
result (e.g., when asking for closed
coordinates on an
open line) and the isEmptyCoords
function can be used to check for
"null" results.
For gridCoords
a "GridCoords"
object.
For gridGrobCoords
a "GridGrobCoords"
object.
For gridGTreeCoords
a "GridGTreeCoords"
object.
Paul Murrell