public class PSWDrawable extends PrDrawable implements HeapImage
Modifier and Type | Method and Description |
---|---|
void |
clear() |
static PSWDrawable |
create(RTTexture rtt) |
Graphics |
createGraphics() |
void |
flush() |
int |
getContentHeight() |
int |
getContentWidth() |
Object |
getData() |
int |
getMaxContentHeight() |
int |
getMaxContentWidth() |
int |
getPhysicalHeight() |
int |
getPhysicalWidth() |
int[] |
getPixelArray() |
int |
getScanlineStride() |
RTTexture |
getTextureObject() |
boolean |
isLost() |
void |
setContentHeight(int contentH) |
void |
setContentWidth(int contentW) |
create, getImagePool, getPixelScale, setImagePool
getNativeBounds, lock, unlock
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPixelScale
lock, unlock
public static PSWDrawable create(RTTexture rtt)
public boolean isLost()
isLost
in interface LockableResource
isLost
in class PrTexture<RTTexture>
public void flush()
flush
in interface Filterable
public Object getData()
getData
in interface Filterable
public int getContentWidth()
getContentWidth
in interface Filterable
public int getContentHeight()
getContentHeight
in interface Filterable
public int getMaxContentWidth()
getMaxContentWidth
in interface Filterable
getMaxContentWidth
in class PrDrawable
public int getMaxContentHeight()
getMaxContentHeight
in interface Filterable
getMaxContentHeight
in class PrDrawable
public void setContentWidth(int contentW)
setContentWidth
in interface Filterable
setContentWidth
in class PrDrawable
public void setContentHeight(int contentH)
setContentHeight
in interface Filterable
setContentHeight
in class PrDrawable
public int getPhysicalWidth()
getPhysicalWidth
in interface Filterable
public int getPhysicalHeight()
getPhysicalHeight
in interface Filterable
public int getScanlineStride()
getScanlineStride
in interface HeapImage
public int[] getPixelArray()
getPixelArray
in interface HeapImage
public RTTexture getTextureObject()
getTextureObject
in class PrTexture<RTTexture>
public Graphics createGraphics()
createGraphics
in class PrDrawable
public void clear()
clear
in class PrDrawable
Copyright © 2020. All rights reserved.