public class Fh_Svg2Svg extends FhConverter
A converter for SVG documents to SVG using the FreeHep library.
properties| Constructor and Description |
|---|
Fh_Svg2Svg() |
| Modifier and Type | Method and Description |
|---|---|
String |
convertDocument(BatikLoader loader,
File fout)
Converts the document maintained by the loader to a target format.
|
void |
setPropertyBackground(boolean on)
Sets background property on or off.
|
void |
setPropertyBackgroundColor(Color color)
Sets background color property to a color.
|
void |
setPropertyTransparent(boolean on)
Sets transparency property on or off.
|
getProperties, setPropertyClip, setPropertyTextAsShapespublic void setPropertyBackground(boolean on)
FhConverterSets background property on or off.
setPropertyBackground in class FhConverteron - new settingpublic void setPropertyBackgroundColor(Color color)
FhConverterSets background color property to a color.
setPropertyBackgroundColor in class FhConvertercolor - background colorpublic void setPropertyTransparent(boolean on)
FhConverterSets transparency property on or off.
setPropertyTransparent in class FhConverteron - new settingpublic String convertDocument(BatikLoader loader, File fout)
FhConverterConverts the document maintained by the loader to a target format.
convertDocument in class FhConverterloader - the document loader, must have a document successfully loadedfout - the file for the outputCopyright © 2012–2017. All rights reserved.