net.thucydides.core.images
Class ResizedImage
java.lang.Object
net.thucydides.core.images.ResizableImage
net.thucydides.core.images.ResizedImage
public class ResizedImage
- extends ResizableImage
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResizedImage
public ResizedImage(BufferedImage image,
File screenshotFile)
throws IOException
- Throws:
IOException
saveTo
public void saveTo(File file)
throws IOException
- Description copied from class:
ResizableImage
- If no resize operation has been done, just copy the file.
Otherwise we should be applying the saveTo() method on the ResizedImage class.
- Overrides:
saveTo in class ResizableImage
- Throws:
IOException
getWitdh
public int getWitdh()
- Overrides:
getWitdh in class ResizableImage
getHeight
public int getHeight()
- Overrides:
getHeight in class ResizableImage
Copyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.