Description Usage Arguments Details Value Author(s)
These functions are convenience constructors for path segment objects
of classes "PathMoveTo"
, "PathLineTo"
,
"PathCurveTo"
and "PathClosePath"
.
1 2 3 4 |
x |
A numeric vector representing x-locations. |
y |
A numeric vector representing y-locations. |
For x
and y
, they should each be of length one so that
they represent a single point location except in the case of
curveTo
. In the case of curveTo
, it expects x
and
y
vectors of length four, which represent control points in a
cubic bezier curve.
For moveTo
, an object of class "PathMoveTo"
.
For lineTo
, an object of class "PathLineTo"
.
For curveTo
, an object of class "PathCurveTo"
.
For closePath
, an object of class "PathClosePath"
.
Simon Potter
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.