addText | R Documentation |
Adds Text to image.
addText(image, text, color, xoff = 0, yoff = 0, corner = "TL")
image |
a [0,1] image. |
text |
a character string. |
color |
a character string. color of the text. |
xoff |
positive integer. x offset in image to start writing text. |
yoff |
positive integer. y offset in image to start writing text. |
corner |
a character string. where to position text in the image. Allowed are "TL", "TR", "BL", "BR", for top-left, top-right, bottom-left, bottom-right, respectively. |
One-lined text will be added so has to be fully contained within image and anchored at desired corner plus x and y offset from it.
an image with text added.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.