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.Image other) |
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) |
| Modifier and Type | Method and Description |
|---|---|
void |
drawEmbeddedWithLight(float x,
float y,
float width,
float height,
org.newdawn.slick.Color[] light,
org.newdawn.slick.Color filter) |
void |
drawWithLight(float x,
float y,
float width,
float height,
org.newdawn.slick.Color[] light) |
void |
drawWithLight(float x,
float y,
float width,
float height,
org.newdawn.slick.Color[] light,
org.newdawn.slick.Color 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(org.newdawn.slick.Image 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 drawWithLight(float x,
float y,
float width,
float height,
org.newdawn.slick.Color[] light)
public void drawWithLight(float x,
float y,
float width,
float height,
org.newdawn.slick.Color[] light,
org.newdawn.slick.Color filter)
public void drawEmbeddedWithLight(float x,
float y,
float width,
float height,
org.newdawn.slick.Color[] light,
org.newdawn.slick.Color filter)