public class RasterImage
extends java.lang.Object
Copyright 2005-2009 Partner Software, Inc.
| Modifier and Type | Field and Description |
|---|---|
VfsFile |
file |
double |
originX |
double |
originY |
int |
pixelHeight |
int |
pixelWidth |
double |
scale |
| Constructor and Description |
|---|
RasterImage(VfsFile file,
double originX,
double originY,
double scale,
int pixelWidth,
int pixelHeight) |
| Modifier and Type | Method and Description |
|---|---|
OpenglTextureHandle |
addTexture(OpenglControl control)
Adds the textureHandle to the given control and returns the ID.
|
XyBounds |
getBounds() |
int |
getByteCount()
Returns an approximate size in bytes of this image and/or textureHandle.
|
XyPoint |
getCenter() |
java.awt.Image |
getImage() |
boolean |
isMarkedForRemoval() |
void |
removeTexture()
Removes the textureHandle from GLTextureManager.
|
void |
setMarkedForRemoval(boolean tizit)
Marks this image for removal after it is rendered.
|
java.lang.String |
toString() |
public VfsFile file
public double originX
public double originY
public double scale
public int pixelWidth
public int pixelHeight
public RasterImage(VfsFile file, double originX, double originY, double scale, int pixelWidth, int pixelHeight)
public java.awt.Image getImage()
public OpenglTextureHandle addTexture(OpenglControl control)
public boolean isMarkedForRemoval()
public void setMarkedForRemoval(boolean tizit)
public void removeTexture()
public XyPoint getCenter()
public XyBounds getBounds()
public int getByteCount()
public java.lang.String toString()
toString in class java.lang.Object