These functions calculate points along the perimeter (or length) of a grob.
grobCoords(x, closed, ...) grobPoints(x, closed, ...) emptyCoords isEmptyCoords(coords)
A grob object.
Whether we are asking for points along the perimeter of a closed object or points along the length of an open object. Some grobs (e.g., X-splines) can do both.
Arguments to be used by methods.
A set of grob coordinates (as generated by
Custom grobs can write their own methods for
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
A list of lists with components
All locations are in inches relative to the current grid viewport.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.