public interface InterpolatePixel<T extends ImageBase>
InterpolateRectangle should be considered for performance reasons.| Modifier and Type | Method and Description |
|---|---|
ImageBorder<T> |
getBorder()
Returns the class which handles the image border
|
int |
getFastBorderX()
Border around the image that fast interpolation cannot be called.
|
int |
getFastBorderY()
Border around the image that fast interpolation cannot be called.
|
T |
getImage()
Returns the image which is being interpolated.
|
ImageType<T> |
getImageType()
Type of image it can process
|
boolean |
isInFastBounds(float x,
float y)
Is the requested pixel inside the image boundary for which fast unsafe interpolation can be performed.
|
void |
setBorder(ImageBorder<T> border)
Set's the class used to "read" pixels outside the image border.
|
void |
setImage(T image)
Change the image that is being interpolated.
|
void setBorder(ImageBorder<T> border)
border - Class for reading outside the image borderImageBorder<T> getBorder()
void setImage(T image)
image - An image.T getImage()
boolean isInFastBounds(float x,
float y)
x - Point's x-coordinate.y - Point's y-coordinate.int getFastBorderX()
int getFastBorderY()