public class SVGExporter extends Object implements CharacterExporter, VectorExporter, LongTask
| Constructor and Description |
|---|
SVGExporter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel()
Cancel the task.
|
boolean |
execute()
Run the export process.
|
Workspace |
getWorkspace()
Returns the workspace from where data are exported
|
boolean |
isScaleStrokes() |
void |
setProgressTicket(ProgressTicket progressTicket)
Set the progress ticket for the long task.
|
void |
setScaleStrokes(boolean scaleStrokes) |
void |
setWorkspace(Workspace workspace)
Sets the worksapce from where to export data
|
void |
setWriter(Writer writer)
Set the writer where to export.
|
public boolean execute()
Exporterpublic boolean cancel()
LongTasktrue if the task has been sucessfully cancelled, false otherwise.public void setProgressTicket(ProgressTicket progressTicket)
LongTasksetProgressTicket in interface LongTaskprogressTicket - the progress ticket for this taskpublic void setWriter(Writer writer)
CharacterExportersetWriter in interface CharacterExporterwriter - the writer the exporter is to writepublic Workspace getWorkspace()
ExportergetWorkspace in interface Exporterpublic void setWorkspace(Workspace workspace)
ExportersetWorkspace in interface Exporterworkspace - the workspace to exportpublic void setScaleStrokes(boolean scaleStrokes)
public boolean isScaleStrokes()
Copyright © 2007–2017. All rights reserved.