- x
For a single static arrow, a 2x3 matrix in which the rows are the start and end point in 3D. For a single animated arrow, a 2x3xi array in which the first two dimensions specify the start and end point of the arrow and i is the number of animation iterations. For multiple static arrows, a list of length n, each element being a 2x3 matrix, in which n is the number of arrows. For multiple animated arrows, a list of length n, each element being a 2x3xi array indicating the start and end points of each arrow over i iterations.
- y
If x
is a vector, the coordinates on the y-axis.
- name
The name of the drawn object.
- col
The stroke color of the arrow.
- z.index
A number indicating the relative order in which the object will be drawn in the viewer. Higher numbers correspond to closer to the front or top.
- layer
A text string indicating the layer in which the object belongs (not yet fully implemented).
- label
A label to be added to the object in SVG tag.
- lwd
The thickness of the arrow.
- len
The length of the arrowhead.
- angle
The angle (in radians) between the arrowhead lines and the main shaft of the arrow.
- opacity
The opacity of the arrow.
- file
File path (having the extenstion ".html") to add lines to a current Viewer file. By default (i.e. NULL
) lines are added to the Viewer opened by svg.new
.