Package com.luciad.format.svg
Interface ILcdSVGShapeWriter
- All Known Implementing Classes:
ALcdSVGShapeWriter,TLcdSVGUnStyledShapeWriter
public interface ILcdSVGShapeWriter
This interface is used by the
TLcdSVGModelEncoder.
It represents the classes that can write elements from the model
to a Writer.-
Method Summary
Modifier and TypeMethodDescriptionvoidsetTrueSVG(boolean aTrueSVG) Sets whether only true SVG shapes are passed on to the writer.voidwriteElement(Object aElement, Writer aTarget) Writes a givenObjectto a given Writer.
-
Method Details
-
writeElement
Writes a givenObjectto a given Writer.- Parameters:
aElement- the object to be written as an SVG element.aTarget- a Writer to write to.- Throws:
IOException- when writing to aTarget fails.
-
setTrueSVG
void setTrueSVG(boolean aTrueSVG) Sets whether only true SVG shapes are passed on to the writer.- Parameters:
aTrueSVG- when set to true only shapes which have an equivalent SVG tag will be written. When set to false additional not svg supported shapes are also written. SeeILcdSVGConstantsfor true SVG shapes.
-