public class PPSDrawable extends PrDrawable
| Modifier | Constructor and Description |
|---|---|
private |
PPSDrawable(RTTexture rtt) |
| Modifier and Type | Method and Description |
|---|---|
(package private) static PPSDrawable |
create(ResourceFactory factory,
int width,
int height) |
(package private) static PPSDrawable |
create(RTTexture rtt) |
ShaderGraphics |
createGraphics() |
void |
flush() |
(package private) static int |
getCompatibleHeight(ResourceFactory factory,
int h) |
(package private) static int |
getCompatibleWidth(ResourceFactory factory,
int w) |
int |
getContentHeight() |
int |
getContentWidth() |
java.lang.Object |
getData() |
int |
getMaxContentHeight() |
int |
getMaxContentWidth() |
int |
getPhysicalHeight() |
int |
getPhysicalWidth() |
boolean |
isLost() |
void |
setContentHeight(int contentH) |
void |
setContentWidth(int contentW) |
clear, create, getImagePool, getPixelScale, setImagePoolgetNativeBounds, getTextureObject, lock, unlockclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlock, unlockprivate RTTexture rtt
private PPSDrawable(RTTexture rtt)
static PPSDrawable create(RTTexture rtt)
static int getCompatibleWidth(ResourceFactory factory, int w)
static int getCompatibleHeight(ResourceFactory factory, int h)
static PPSDrawable create(ResourceFactory factory, int width, int height)
public boolean isLost()
isLost in interface LockableResourceisLost in class PrTexture<RTTexture>public void flush()
public java.lang.Object getData()
public int getContentWidth()
public int getContentHeight()
public int getMaxContentWidth()
getMaxContentWidth in interface FilterablegetMaxContentWidth in class PrDrawablepublic int getMaxContentHeight()
getMaxContentHeight in interface FilterablegetMaxContentHeight in class PrDrawablepublic void setContentWidth(int contentW)
setContentWidth in interface FilterablesetContentWidth in class PrDrawablepublic void setContentHeight(int contentH)
setContentHeight in interface FilterablesetContentHeight in class PrDrawablepublic int getPhysicalWidth()
public int getPhysicalHeight()
public ShaderGraphics createGraphics()
createGraphics in class PrDrawable