| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
org.apache.tools.ant.types.optional.image.ImageOperation
org.apache.tools.ant.types.optional.image.TransformOperation
org.apache.tools.ant.types.optional.image.Scale
public class Scale
Image| Nested Class Summary | |
|---|---|
| static class | Scale.ProportionsAttributeEnumerated class for proportions attribute. | 
| Field Summary | 
|---|
| Fields inherited from class org.apache.tools.ant.types.optional.image.ImageOperation | 
|---|
| instructions | 
| Fields inherited from class org.apache.tools.ant.types.DataType | 
|---|
| checked, ref | 
| Fields inherited from class org.apache.tools.ant.ProjectComponent | 
|---|
| description, location, project | 
| Constructor Summary | |
|---|---|
| Scale() | |
| Method Summary | |
|---|---|
|  javax.media.jai.PlanarImage | executeDrawOperation()Abstract method which is intended to create an image buffer and return it so it can be drawn into another object. | 
|  javax.media.jai.PlanarImage | executeTransformOperation(javax.media.jai.PlanarImage image)Performs the transformations. | 
|  float | getHeight()Get the height. | 
|  float | getWidth()Get the width. | 
|  javax.media.jai.PlanarImage | performScale(javax.media.jai.PlanarImage image)Scale an image. | 
|  void | setHeight(java.lang.String height)Sets the height of the image, either as an integer or a %. | 
|  void | setProportions(Scale.ProportionsAttribute pa)Sets the behaviour regarding the image proportions. | 
|  void | setWidth(java.lang.String width)Sets the width of the image, either as an integer or a %. | 
| Methods inherited from class org.apache.tools.ant.types.optional.image.TransformOperation | 
|---|
| addRectangle | 
| Methods inherited from class org.apache.tools.ant.types.optional.image.ImageOperation | 
|---|
| addDraw, addRotate, addScale, addText | 
| Methods inherited from class org.apache.tools.ant.types.DataType | 
|---|
| checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toString | 
| Methods inherited from class org.apache.tools.ant.ProjectComponent | 
|---|
| getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public Scale()
| Method Detail | 
|---|
public void setProportions(Scale.ProportionsAttribute pa)
pa - the enumerated value.public void setWidth(java.lang.String width)
width - the value to use.public void setHeight(java.lang.String height)
height - the value to use.public float getWidth()
public float getHeight()
public javax.media.jai.PlanarImage performScale(javax.media.jai.PlanarImage image)
image - the image to scale.
public javax.media.jai.PlanarImage executeTransformOperation(javax.media.jai.PlanarImage image)
executeTransformOperation in class TransformOperationimage - The image to perform the transformation on.
public javax.media.jai.PlanarImage executeDrawOperation()
executeDrawOperation in interface DrawOperation| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||