EVOLUTION-MANAGER
Edit File: grobCoords.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Calculate Points on the Perimeter of a Grob</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for grobCoords {grid}"><tr><td>grobCoords {grid}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Calculate Points on the Perimeter of a Grob</h2> <h3>Description</h3> <p>These functions calculate points along the perimeter (or length) of a grob. </p> <h3>Usage</h3> <pre> grobCoords(x, closed, ...) grobPoints(x, closed, ...) emptyCoords isEmptyCoords(coords) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>x</code></td> <td> <p>A grob object.</p> </td></tr> <tr valign="top"><td><code>closed</code></td> <td> <p>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.</p> </td></tr> <tr valign="top"><td><code>...</code></td> <td> <p>Arguments to be used by methods.</p> </td></tr> <tr valign="top"><td><code>coords</code></td> <td> <p>A set of grob coordinates (as generated by <code>grobCoords</code>).</p> </td></tr> </table> <h3>Details</h3> <p>Custom grobs can write their own methods for <code>grobPoints</code>. </p> <p>The <code>emptyCoords</code> object can be used to return a "null" result (e.g., when asking for <code>closed</code> coordinates on an open line) and the <code>isEmptyCoords</code> function can be used to check for "null" results. </p> <h3>Value</h3> <p>A list of lists with components <code>x</code> and <code>y</code>. All locations are in inches relative to the current <span class="pkg">grid</span> viewport. </p> <h3>Author(s)</h3> <p>Paul Murrell</p> <hr /><div style="text-align: center;">[Package <em>grid</em> version 3.6.0 <a href="00Index.html">Index</a>]</div> </body></html>