rounded.rect | R Documentation |
Draws a rounded rectangle.
rounded.rect(
origin = 0,
w = 1,
h = 1,
r = 0.1,
n = 100,
plot = TRUE,
adjust = FALSE,
by = "hw",
...
)
origin |
is the origin of the rounded rectangle. |
w |
is the width of the rounded rectangle. |
h |
is the height of the rounded rectangle. |
r |
is the radius of the rounded corners as a fraction on 'w'. |
n |
is the number of points along the rounded corners of the rounded rectangle. |
plot |
is whether the rounded rectangle is to be plotted or not. |
adjust |
is TRUE if the rounded corners should appear as circles regardless of the frame dimensions. |
by |
is along which of width, height or both, the adjustment for reshaped window dimensions of the rounded rectangles are to be done. |
... |
are parameters like 'col' and 'border' used in polygon(). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.