
AddPointToSVG |
org.geon.AddPointToSVG |
This actor accepts a point and an SVG file and adds the point to the SVG file.
The point is defined as and array of doubles ({X,Y}). The SVG file may have
conversion ratios for X and Y, specified by a conversion and xRatio, yRatio tags.
The X,Y values are converted using these factors (if available). The point is added
as a tag to the SVG file. The resulting SVG content is saved to svgOutFile.
An example SVG file is available at lib/testdata/geon/whalen.svg.
Author(s): Efrat Jaeger
Version:$Id: AddPointToSVG.java,v 1.6 2006/05/18 22:34:54 mangal Exp $
point
Point to be added. An array of doubles, {X,Y}.
svgFile
An SVG inupt file port.
svgOutputFile
An SVG output file port.
output
Outputs the SVG output file path.
trigger
Triggering the actor execution.
svgFileParam
An SVG input file name or URL. This is a string with
any form accepted by FileParameter.
svgOutFile
An SVG output file name or URL. This is a string with
any form accepted by FileParameter.
confirmOverwrite
If false, then overwrite the specified file if it exists
without asking. If true (the default), then if the file
exists, ask for confirmation before overwriting.