Description Usage Arguments Value Author(s) See Also Examples
drawText
draws text over an Image
object.
This operation is destructive: it changes irreversibly the Image
object and cannot be undone.
1 2 |
image |
An |
text |
A character string representing the text to be drawn. |
x |
A numeric value representing the x coordinate of the bottom left
corner of the text string (or top left if |
y |
A numeric value representing the y coordinate of the bottom left
corner of the text string (or top left if |
font_face |
A character string representing the font type of the text (default: "simplex"). See notes for a list of available font types. |
font_scale |
A numeric value representing the scale factor by which the font-specific base size is multiplied (default: 1). |
italic |
A logical specifying whether the text should italicized (default: FALSE). |
color |
Any kind of R color specification compatible with
|
thickness |
A numeric value representing the thickness in pixels of the line (default: 1). |
bl_orig |
A logical specifying the origin of the text drawing (default: TRUE). If TRUE, the text is drawn right-side-up. If FALSE, it is drawn upside-down. |
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.