public abstract class AbstractRenderedImageContainer extends Object implements IImageContainer
| Constructor and Description |
|---|
AbstractRenderedImageContainer(RenderedImage image) |
| Modifier and Type | Method and Description |
|---|---|
BufferedImage |
asBufferImage(Rectangle rectangle) |
IImageContainer |
crop(float x,
float y,
float width,
float height) |
IImageContainer |
fit(int width,
int height) |
int |
getHeight() |
int |
getWidth() |
IImageContainer |
scale(float factor) |
IImageContainer |
scale(float widthFactor,
float heightFactor) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasBufferImage, asBufferImage, disposepublic AbstractRenderedImageContainer(RenderedImage image)
public int getWidth()
getWidth in interface IImageContainerpublic int getHeight()
getHeight in interface IImageContainerpublic IImageContainer crop(float x, float y, float width, float height)
crop in interface IImageContainerpublic IImageContainer scale(float factor)
scale in interface IImageContainerpublic IImageContainer scale(float widthFactor, float heightFactor)
scale in interface IImageContainerpublic IImageContainer fit(int width, int height)
fit in interface IImageContainerpublic BufferedImage asBufferImage(Rectangle rectangle)
asBufferImage in interface IImageContainerCopyright © 2007–2018 Andreas W. Bartels. All rights reserved.