public class Texture
extends org.newdawn.slick.Image
alpha, angle, BOTTOM_LEFT, BOTTOM_RIGHT, centerX, centerY, corners, destroyed, FILTER_LINEAR, FILTER_NEAREST, GL, height, inited, inUse, name, pixelData, ref, texture, textureHeight, textureOffsetX, textureOffsetY, textureWidth, TOP_LEFT, TOP_RIGHT, width| Constructor and Description |
|---|
Texture() |
Texture(org.newdawn.slick.opengl.ImageData data) |
Texture(org.newdawn.slick.opengl.ImageData data,
int f) |
Texture(java.io.InputStream in,
java.lang.String ref,
boolean flipped) |
Texture(java.io.InputStream in,
java.lang.String ref,
boolean flipped,
int filter) |
Texture(int width,
int height) |
Texture(int width,
int height,
int f) |
Texture(java.lang.String ref) |
Texture(java.lang.String ref,
boolean flipped) |
Texture(java.lang.String ref,
boolean flipped,
int filter) |
Texture(java.lang.String ref,
boolean flipped,
int f,
org.newdawn.slick.Color transparent) |
Texture(java.lang.String ref,
org.newdawn.slick.Color trans) |
Texture(Texture other) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(float x,
float y,
float x2,
float y2,
float srcX,
float srcY,
float srcX2,
float srcY2,
int filter) |
void |
draw(float x,
float y,
float x2,
float y2,
float srcX,
float srcY,
float srcX2,
float srcY2,
int[] light) |
void |
draw(float x,
float y,
float x2,
float y2,
float srcX,
float srcY,
float srcX2,
float srcY2,
int[] light,
int filter) |
void |
draw(float x,
float y,
float width,
float height,
int filter) |
void |
draw(float x,
float y,
float width,
float height,
int[] light) |
void |
draw(float x,
float y,
float width,
float height,
int[] light,
int filter) |
void |
drawEmbedded(float x,
float y,
float x2,
float y2,
float srcX,
float srcY,
float srcX2,
float srcY2,
int[] light,
int filter) |
Texture |
getSubTexture(int x,
int y,
int width,
int height) |
bind, clampTexture, copy, destroy, draw, draw, draw, draw, draw, draw, draw, draw, draw, draw, drawCentered, drawEmbedded, drawEmbedded, drawEmbedded, drawFlash, drawFlash, drawFlash, drawSheared, drawSheared, drawWarped, endUse, ensureInverted, flushPixelData, getAlpha, getCenterOfRotationX, getCenterOfRotationY, getColor, getFilter, getFlippedCopy, getGraphics, getHeight, getName, getResourceReference, getRotation, getScaledCopy, getScaledCopy, getSubImage, getTexture, getTextureHeight, getTextureOffsetX, getTextureOffsetY, getTextureWidth, getWidth, init, initImpl, isDestroyed, reinit, rotate, setAlpha, setCenterOfRotation, setColor, setColor, setFilter, setImageColor, setImageColor, setName, setRotation, setTexture, startUse, toStringpublic Texture(Texture other)
public Texture()
public Texture(java.lang.String ref)
throws org.newdawn.slick.SlickException
org.newdawn.slick.SlickExceptionpublic Texture(java.lang.String ref,
org.newdawn.slick.Color trans)
throws org.newdawn.slick.SlickException
org.newdawn.slick.SlickExceptionpublic Texture(java.lang.String ref,
boolean flipped)
throws org.newdawn.slick.SlickException
org.newdawn.slick.SlickExceptionpublic Texture(java.lang.String ref,
boolean flipped,
int filter)
throws org.newdawn.slick.SlickException
org.newdawn.slick.SlickExceptionpublic Texture(java.lang.String ref,
boolean flipped,
int f,
org.newdawn.slick.Color transparent)
throws org.newdawn.slick.SlickException
org.newdawn.slick.SlickExceptionpublic Texture(int width,
int height)
throws org.newdawn.slick.SlickException
org.newdawn.slick.SlickExceptionpublic Texture(int width,
int height,
int f)
throws org.newdawn.slick.SlickException
org.newdawn.slick.SlickExceptionpublic Texture(java.io.InputStream in,
java.lang.String ref,
boolean flipped)
throws org.newdawn.slick.SlickException
org.newdawn.slick.SlickExceptionpublic Texture(java.io.InputStream in,
java.lang.String ref,
boolean flipped,
int filter)
throws org.newdawn.slick.SlickException
org.newdawn.slick.SlickExceptionpublic Texture(org.newdawn.slick.opengl.ImageData data)
public Texture(org.newdawn.slick.opengl.ImageData data,
int f)
public Texture getSubTexture(int x, int y, int width, int height)
public void draw(float x,
float y,
float width,
float height,
int[] light)
public void draw(float x,
float y,
float width,
float height,
int filter)
public void draw(float x,
float y,
float width,
float height,
int[] light,
int filter)
public void draw(float x,
float y,
float x2,
float y2,
float srcX,
float srcY,
float srcX2,
float srcY2,
int[] light)
public void draw(float x,
float y,
float x2,
float y2,
float srcX,
float srcY,
float srcX2,
float srcY2,
int filter)
public void draw(float x,
float y,
float x2,
float y2,
float srcX,
float srcY,
float srcX2,
float srcY2,
int[] light,
int filter)
public void drawEmbedded(float x,
float y,
float x2,
float y2,
float srcX,
float srcY,
float srcX2,
float srcY2,
int[] light,
int filter)