Description Usage Arguments Examples
This code was inspired and adapted from the make hexagon code in https://github.com/greta-dev/greta/blob/master/logos/make_hex.R
1 2 3 4 5 6 | nat_makehexlogo(
rawimgpath,
outputimgpath,
hexbordercolour = "white",
hexinnercolour = "red"
)
|
rawimgpath |
Path to the png file (that contains the actual logo) |
outputimgpath |
Path to the output png file that is in the form of a hex |
hexbordercolour |
Colour of the hexagon border |
hexinnercolour |
Colour to fill inside (usually give the background color of your image) |
1 2 3 4 | ## Not run:
nat_makehexlogo(rawimgpath='logos/nat_withouthex.png',outputimgpath ='logos/nat_withhex.png')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.