public abstract class AbstractRenderedImageContainer extends Object implements IImageContainer
| Constructor and Description |
|---|
AbstractRenderedImageContainer(RenderedImage image) |
| Modifier and Type | Method and Description |
|---|---|
IImageContainer |
crop(float x,
float y,
float width,
float height) |
IImageContainer |
crop(Rectangle rectangle) |
IImageContainer |
fit(int width,
int height) |
int |
getColorSpaceType() |
int |
getHeight() |
int |
getWidth() |
IImageContainer |
invert() |
IImageContainer |
mapBands(int[] mapping) |
IImageContainer |
scale(float factor) |
IImageContainer |
scale(float widthFactor,
float heightFactor) |
IImageContainer |
toGrayScale() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasBufferImage, dispose, getNumberOfBands, getNumberOfComponentspublic 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 crop(Rectangle rectangle)
crop in interface IImageContainerpublic IImageContainer scale(float factor)
scale in interface IImageContainerpublic IImageContainer scale(float widthFactor, float heightFactor)
scale in interface IImageContainerpublic IImageContainer mapBands(int[] mapping)
mapBands in interface IImageContainerpublic IImageContainer invert()
invert in interface IImageContainerpublic IImageContainer toGrayScale()
toGrayScale in interface IImageContainerpublic IImageContainer fit(int width, int height)
fit in interface IImageContainerpublic int getColorSpaceType()
getColorSpaceType in interface IImageContainerCopyright © 2007–2019 Andreas W. Bartels. All rights reserved.