Description Usage Arguments Value Examples
This is just a wrapper function for magick::image_annotate that allows more flexibility in color input.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
stimuli |
list of class stimlist |
text |
a vector of the label text(s) or TRUE to use stimlist names |
gravity |
string with gravity value from |
location |
geometry string with location relative to gravity |
degrees |
rotates text around center point |
size |
font size in pixels (if NULL, scales to 5% image height) |
font |
string with font family such as "sans", "mono", "serif", "Times", "Helvetica", "Trebuchet", "Georgia", "Palatino" or "Comic Sans". |
style |
value of style_types for example "italic" |
weight |
thickness of the font, 400 is normal and 700 is bold. |
kerning |
increases or decreases whitespace between letters |
decoration |
value of decoration_types for example "underline" |
color |
a vector of the label colour(s) |
strokecolor |
adds a stroke (border around the text) |
boxcolor |
adds a background color |
stimlist with labelled images
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.