kitfox-svg-core
1.0.0-build001 / 2012-04-07T15:40:49.711-0500

com.kitfox.svg.app.ant
Class SVGToImageAntTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by com.kitfox.svg.app.ant.SVGToImageAntTask
All Implemented Interfaces:
Cloneable

public class SVGToImageAntTask
extends org.apache.tools.ant.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

Field Summary
 
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
SVGToImageAntTask()
          Creates a new instance of IndexLoadObjectsAntTask
 
Method Summary
 void addFileset(org.apache.tools.ant.types.FileSet set)
          Adds a set of files.
 void execute()
           
 String getFormat()
           
 void setAntiAlias(boolean antiAlias)
           
 void setBackgroundColor(String bgColor)
           
 void setClipToViewBox(boolean clipToViewBox)
           
 void setDestDir(File destDir)
           
 void setFormat(String format)
           
 void setHeight(int height)
           
 void setInterpolation(String interpolation)
           
 void setSizeToFit(boolean sizeToFit)
           
 void setVerbose(boolean verbose)
           
 void setWidth(int width)
           
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
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 String getFormat()

setFormat

public void setFormat(String format)

setBackgroundColor

public void setBackgroundColor(String bgColor)

setHeight

public void setHeight(int height)

setWidth

public void setWidth(int width)

setAntiAlias

public void setAntiAlias(boolean antiAlias)

setInterpolation

public void setInterpolation(String interpolation)

setSizeToFit

public void setSizeToFit(boolean sizeToFit)

setClipToViewBox

public void setClipToViewBox(boolean clipToViewBox)

setVerbose

public void setVerbose(boolean verbose)

setDestDir

public void setDestDir(File destDir)

addFileset

public void addFileset(org.apache.tools.ant.types.FileSet set)
Adds a set of files.


execute

public void execute()
Overrides:
execute in class org.apache.tools.ant.Task

kitfox-svg-core
1.0.0-build001 / 2012-04-07T15:40:49.711-0500

Copyright © 2011-2012 Barchart, Inc.. All Rights Reserved.