public interface ILcdSVGShapeWriter
TLcdSVGModelEncoder
.
It represents the classes that can write elements from the model
to a Writer
.Modifier and Type | Method and Description |
---|---|
void |
setTrueSVG(boolean aTrueSVG)
Sets whether only true SVG shapes are passed on to the writer.
|
void |
writeElement(Object aElement,
Writer aTarget)
Writes a given
Object to a given Writer. |
void writeElement(Object aElement, Writer aTarget) throws IOException
Object
to a given Writer.aElement
- the object to be written as an SVG element.aTarget
- a Writer to write to.IOException
- when writing to aTarget fails.void setTrueSVG(boolean aTrueSVG)
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. See ILcdSVGConstants
for true SVG shapes.