Description Usage Arguments Value Author(s) See Also Examples
drawEllipse
draws ellipses (or part of) over an
Image
object. This operation is destructive: it changes
irreversibly the Image
object and cannot be undone.
1 2 | drawEllipse(image, x, y, axis1, axis2, angle, start_angle = 0,
end_angle = 360, color = "red", thickness = 1)
|
image |
An |
x |
A numeric value or vector representing the x coordinates of the centers of each ellipse |
y |
A numeric value or vector representing the y coordinates of the centers of each ellipse |
axis1 |
A numeric value or vector representing the half-length of the first axis of each ellipse. |
axis2 |
A numeric value or vector representing the half-length of the second axis of each ellipse. |
angle |
A numeric value or vector representing the angle in degrees
between |
start_angle |
A numeric value or vector representing the start angle in degrees of each elliptic arc (default: 0). |
end_angle |
A numeric value or vector representing the end angle in degrees of each elliptic arc (default: 360). |
color |
A value or vector of any kind of R color specification compatible
with |
thickness |
A numeric value or vector representing the thickness in pixels of each ellipse's outline (default: 1). If negative, then a filled ellipse is drawn. |
This function does not return anything. It modifies image
in
place.
Simon Garnier, garnier@njit.edu
1 | # TODO
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.