public interface ISvgResourceKeeperCallback
The svg callback interface
| Modifier and Type | Method and Description |
|---|---|
void |
onFontResourceReady(FontStoringArgs args)
Called for each font used in SVG.
|
String |
onImageResourceReady(byte[] imageData,
int imageType,
String suggestedFileName,
boolean[] useEmbeddedImage)
Called for each raster image in SVG.
|
String |
onSvgDocumentReady(byte[] htmlData,
String suggestedFileName)
Called when SVG document is ready.
|
String onImageResourceReady(byte[] imageData, int imageType, String suggestedFileName, boolean[] useEmbeddedImage)
Called for each raster image in SVG. Use it to specify how to store the raster image.
imageData - The bytes of the raster image contentimageType - Type of the image.suggestedFileName - Name of the suggested file.useEmbeddedImage - if set to true then image will be embedded into SVG.void onFontResourceReady(FontStoringArgs args)
Called for each font used in SVG. Use it to specify how to store the font.
args - The font storage parameters