Hao Zhu | 5fe235c | 2020-08-26 00:26:49 -0400 | [diff] [blame^] | 1 | % Generated by roxygen2: do not edit by hand |
| 2 | % Please edit documentation in R/spec_tools.R |
| 3 | \name{spec_image} |
| 4 | \alias{spec_image} |
| 5 | \title{Setup image path, size, etc} |
| 6 | \usage{ |
| 7 | spec_image(path, width, height, res = 300, svg_text = NULL) |
| 8 | } |
| 9 | \arguments{ |
| 10 | \item{path}{file path(s)} |
| 11 | |
| 12 | \item{width}{image width in pixel} |
| 13 | |
| 14 | \item{height}{image height in pixel} |
| 15 | |
| 16 | \item{res}{image resolution.} |
| 17 | |
| 18 | \item{svg_text}{If you have the raw text for SVG. Put them here} |
| 19 | } |
| 20 | \description{ |
| 21 | Users can directly provide image file path to column spec. |
| 22 | However, if you need to specify the size of the image, you will need this |
| 23 | function. |
| 24 | } |