Converts SVGs to PNGs. This is split out into its own class to make it easier to test (since it doesn't require any of the Task architecture).
| Type | Name and description |
|---|---|
void |
transcode(SVGResource svgResource, Density density, java.io.File destination)Transcodes an SVGResource into a PNG. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Transcodes an SVGResource into a PNG.
svgResource - the input SVGdensity - the density to output the PNG; determines scalingdestination - the output destination