public class StretchedImageFilter
extends java.awt.image.ImageFilter
ImageFilter
that produces stretched faces.Constructor and Description |
---|
StretchedImageFilter() |
Modifier and Type | Method and Description |
---|---|
static boolean |
coordsInTile(long stretch,
int x,
int y)
Checks whether the specified coordinates are inside a (possibly
stretched) isometric tile.
|
void |
imageComplete(int status) |
void |
setDimensions(int width,
int height) |
void |
setHints(int hints) |
void |
setPixels(int x,
int y,
int w,
int h,
java.awt.image.ColorModel model,
byte[] pixels,
int off,
int scansize) |
void |
setPixels(int x,
int y,
int w,
int h,
java.awt.image.ColorModel model,
int[] pixels,
int off,
int scansize) |
void |
setStretchedFactor(long stretchFactor)
Set the stretch factor for this instance.
|
public void setStretchedFactor(long stretchFactor)
stretchFactor
- the stretch factorpublic void setDimensions(int width, int height)
setDimensions
in interface java.awt.image.ImageConsumer
setDimensions
in class java.awt.image.ImageFilter
public void setHints(int hints)
setHints
in interface java.awt.image.ImageConsumer
setHints
in class java.awt.image.ImageFilter
public void setPixels(int x, int y, int w, int h, @NotNull java.awt.image.ColorModel model, @NotNull byte[] pixels, int off, int scansize)
setPixels
in interface java.awt.image.ImageConsumer
setPixels
in class java.awt.image.ImageFilter
public void setPixels(int x, int y, int w, int h, @NotNull java.awt.image.ColorModel model, @NotNull int[] pixels, int off, int scansize)
setPixels
in interface java.awt.image.ImageConsumer
setPixels
in class java.awt.image.ImageFilter
public static boolean coordsInTile(long stretch, int x, int y)
stretch
- stretch factorx
- x coordinatey
- y coordinatepublic void imageComplete(int status)
imageComplete
in interface java.awt.image.ImageConsumer
imageComplete
in class java.awt.image.ImageFilter