org.apache.tools.ant.types.optional.image
public class Scale extends TransformOperation implements DrawOperation
See Also: Image
Nested Class Summary | |
---|---|
static class | Scale.ProportionsAttribute |
Method Summary | |
---|---|
PlanarImage | executeDrawOperation() |
PlanarImage | executeTransformOperation(PlanarImage image) |
float | getHeight() |
float | getWidth() |
PlanarImage | performScale(PlanarImage image) |
void | setHeight(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(String width)
Sets the width of the image, either as an integer or a %. |