com.kitfox.svg.app.ant
Class SVGToImageAntTask

java.lang.Object
  extended by Task
      extended by com.kitfox.svg.app.ant.SVGToImageAntTask

public class SVGToImageAntTask
extends Task

Translates a group of SVG files into images.

Parameters:

Example: <SVGToImage destDir="${index.java}" format="jpg" verbose="true"> <fileset dir="${dir1}"> <include name="*.svg"/> </fileset> <fileset dir="${dir2}"> <include name="*.svg"/> </fileset> </SVGToImage>

Author:
kitfox

Constructor Summary
SVGToImageAntTask()
          Creates a new instance of IndexLoadObjectsAntTask
 
Method Summary
 void addFileset(FileSet set)
          Adds a set of files.
 void execute()
           
 java.lang.String getFormat()
           
 void setAntiAlias(boolean antiAlias)
           
 void setBackgroundColor(java.lang.String bgColor)
           
 void setClipToViewBox(boolean clipToViewBox)
           
 void setDestDir(java.io.File destDir)
           
 void setFormat(java.lang.String format)
           
 void setHeight(int height)
           
 void setInterpolation(java.lang.String interpolation)
           
 void setSizeToFit(boolean sizeToFit)
           
 void setVerbose(boolean verbose)
           
 void setWidth(int width)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVGToImageAntTask

public SVGToImageAntTask()
Creates a new instance of IndexLoadObjectsAntTask

Method Detail

getFormat

public java.lang.String getFormat()

setFormat

public void setFormat(java.lang.String format)

setBackgroundColor

public void setBackgroundColor(java.lang.String bgColor)

setHeight

public void setHeight(int height)

setWidth

public void setWidth(int width)

setAntiAlias

public void setAntiAlias(boolean antiAlias)

setInterpolation

public void setInterpolation(java.lang.String interpolation)

setSizeToFit

public void setSizeToFit(boolean sizeToFit)

setClipToViewBox

public void setClipToViewBox(boolean clipToViewBox)

setVerbose

public void setVerbose(boolean verbose)

setDestDir

public void setDestDir(java.io.File destDir)

addFileset

public void addFileset(FileSet set)
Adds a set of files.


execute

public void execute()