public abstract class PrDrawable extends PrTexture<RTTexture> implements PoolFilterable
| Modifier and Type | Field and Description |
|---|---|
private java.lang.ref.WeakReference<ImagePool> |
pool |
| Modifier | Constructor and Description |
|---|---|
protected |
PrDrawable(RTTexture rtt) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
static PrDrawable |
create(FilterContext fctx,
RTTexture rtt) |
abstract Graphics |
createGraphics() |
ImagePool |
getImagePool() |
int |
getMaxContentHeight() |
int |
getMaxContentWidth() |
float |
getPixelScale() |
void |
setContentHeight(int contentH) |
void |
setContentWidth(int contentW) |
void |
setImagePool(ImagePool pool) |
getNativeBounds, getTextureObject, isLost, lock, unlockclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitflush, getContentHeight, getContentWidth, getData, getPhysicalHeight, getPhysicalWidthisLost, lock, unlockprivate java.lang.ref.WeakReference<ImagePool> pool
protected PrDrawable(RTTexture rtt)
public static PrDrawable create(FilterContext fctx, RTTexture rtt)
public void setImagePool(ImagePool pool)
setImagePool in interface PoolFilterablepublic ImagePool getImagePool()
getImagePool in interface PoolFilterablepublic float getPixelScale()
getPixelScale in interface Filterablepublic int getMaxContentWidth()
getMaxContentWidth in interface Filterablepublic int getMaxContentHeight()
getMaxContentHeight in interface Filterablepublic void setContentWidth(int contentW)
setContentWidth in interface Filterablepublic void setContentHeight(int contentH)
setContentHeight in interface Filterablepublic abstract Graphics createGraphics()
public void clear()