Class Rectangle
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
org.apache.tools.ant.types.optional.imageio.ImageOperation
org.apache.tools.ant.types.optional.imageio.BasicShape
org.apache.tools.ant.types.optional.imageio.Rectangle
- All Implemented Interfaces:
Cloneable,DrawOperation
- See Also:
-
Field Summary
Fields inherited from class org.apache.tools.ant.types.optional.imageio.BasicShape
fill, height, stroke, strokeWidth, widthFields inherited from class org.apache.tools.ant.types.optional.imageio.ImageOperation
instructionsFields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAbstract method which is intended to create an image buffer and return it so it can be drawn into another object.voidsetArcheight(int h) Set the arc height.voidsetArcwidth(int w) Set the arc width.Methods inherited from class org.apache.tools.ant.types.optional.imageio.BasicShape
setFill, setHeight, setStroke, setStrokewidth, setWidthMethods inherited from class org.apache.tools.ant.types.optional.imageio.ImageOperation
addDraw, addRotate, addScaleMethods inherited from class org.apache.tools.ant.types.DataType
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toStringMethods inherited from class org.apache.tools.ant.ProjectComponent
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
-
Constructor Details
-
Rectangle
public Rectangle()
-
-
Method Details
-
setArcwidth
public void setArcwidth(int w) Set the arc width.- Parameters:
w- the value to use.
-
setArcheight
public void setArcheight(int h) Set the arc height.- Parameters:
h- the value to use.
-
executeDrawOperation
Abstract method which is intended to create an image buffer and return it so it can be drawn into another object. Use an Alpha channel for a "transparent" background..- Specified by:
executeDrawOperationin interfaceDrawOperation- Returns:
- a planar image
-